コード例 #1
0
 public function __construct($stepName)
 {
     parent::__construct(sprintf('Step "%s" not found', $stepName));
 }
コード例 #2
0
 public function __construct($className)
 {
     parent::__construct(sprintf('Entity class "%s" is not manageable.', $className));
 }
コード例 #3
0
 public function __construct($name)
 {
     parent::__construct(sprintf('Workflow "%s" not found', $name));
 }
コード例 #4
0
 /**
  * Construct.
  *
  * @param string    $stepName     The step name which is not found.
  * @param string    $workflowName Current workflow name.
  * @param int       $code         Error code.
  * @param Exception $previous     Previous thrown exception.
  */
 public function __construct($stepName, $workflowName, $code = 0, Exception $previous = null)
 {
     parent::__construct(sprintf('Step "%s" is not part of workflow "%s"', $stepName, $workflowName), $code, $previous);
 }