Пример #1
0
 public function __construct($command, \Exception $previous = NULL)
 {
     parent::__construct("The command {$command} could not be executed.", 0, $previous);
 }
Пример #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);
 }