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.)'));