public function __construct($stepName)
 {
     parent::__construct(sprintf('Step "%s" not found', $stepName));
 }
 public function __construct($className)
 {
     parent::__construct(sprintf('Entity class "%s" is not manageable.', $className));
 }
 public function __construct($name)
 {
     parent::__construct(sprintf('Workflow "%s" not found', $name));
 }
 /**
  * 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);
 }