Page MenuHomePhabricator

HarbormasterThrowExceptionBuildStep.php
No OneTemporary

HarbormasterThrowExceptionBuildStep.php

<?php
final class HarbormasterThrowExceptionBuildStep
extends HarbormasterBuildStepImplementation {
public function getName() {
return pht('Throw Exception');
}
public function getGenericDescription() {
return pht('Throw an exception.');
}
public function getBuildStepGroupKey() {
return HarbormasterTestBuildStepGroup::GROUPKEY;
}
public function execute(
HarbormasterBuild $build,
HarbormasterBuildTarget $build_target) {
throw new Exception(pht('(This is an explicit exception.)'));
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Nov 11, 1:50 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8230984
Default Alt Text
HarbormasterThrowExceptionBuildStep.php (539 B)

Event Timeline