public function __construct($command, \Exception $previous = NULL)
 {
     parent::__construct("The command {$command} could not be executed.", 0, $previous);
 }
Example #2
0
 public function __construct(Errors $errors, array $values = array(), \Exception $previous = NULL)
 {
     parent::__construct("A validation exception occured.", static::$scope, $previous);
     $this->setErrors($errors);
     $this->setValues($values);
 }