Remove all "FileHasObject" edge reads and writes
[phabricator.git] / src / applications / harbormaster / step / HarbormasterThrowExceptionBuildStep.php
blob06947317ef8b77e2c89695c2757a837e2436b90b
1 <?php
3 final class HarbormasterThrowExceptionBuildStep
4 extends HarbormasterBuildStepImplementation {
6 public function getName() {
7 return pht('Throw Exception');
10 public function getGenericDescription() {
11 return pht('Throw an exception.');
14 public function getBuildStepGroupKey() {
15 return HarbormasterTestBuildStepGroup::GROUPKEY;
18 public function execute(
19 HarbormasterBuild $build,
20 HarbormasterBuildTarget $build_target) {
22 throw new Exception(pht('(This is an explicit exception.)'));