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