1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-26 13:39:08 +01:00
phorge-phorge/src/applications/harbormaster/step/HarbormasterThrowExceptionBuildStep.php

22 lines
438 B
PHP
Raw Normal View History

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