예제 #1
0
 /**
  * New ViewDataException instance
  *
  * @param \ViewManager $view           The source view
  * @param string $dataName      Name of data
  * @param \Exception $previous  Previous exception
  */
 public function __construct(\ViewManager $view, $dataName, \Exception $previous = null)
 {
     $this->view = $view;
     $this->dataName = $dataName;
     $message = sprintf("Undefined data \"%s\" under view \"%s\"", $this->getDataName(), $this->getView()->getPath());
     parent::__construct($message, 0, $previous);
 }
 public function __construct($path, \Exception $previous = null)
 {
     parent::__construct("File \"{$path}\" not found", 0, $previous);
 }
예제 #3
0
 public function __construct($message = "", $code = 0, \Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
 public function __construct($paramName, $className, \Exception $previous = null)
 {
     $message = sprintf("Property {$className}::%s does not exist. Enable passive to autocreate property", $paramName);
     parent::__construct($message, 0, $previous);
 }
 public function __construct(\ViewManager $view, \Exception $previous = null)
 {
     $message = str("View \"{0}\" does not exist", $view->getPath());
     parent::__construct($message, 0, $previous);
 }
 public function __construct($className, $propertyName, \Exception $previous = null)
 {
     $message = sprintf("Undefined property %s::%s", $className, $propertyName);
     parent::__construct($message, 0, $previous);
 }
 public function __construct($method_name, \Exception $previous = null)
 {
     parent::__construct("Method \"{$method_name}\" not implemented", 0, $previous);
 }
 public function __construct(\Exception $previous = null)
 {
     parent::__construct(sprintf("Failed to load route file \"%s\"", __MY_CONFIGS . "/routes.bsv"));
 }
 public function __construct($file, \Exception $previous = null)
 {
     $message = sprintf("File \"%s\" is not a valid JSON file", $file);
     parent::__construct($message, 0, $previous);
 }
예제 #10
0
 public function __construct($path, \Exception $previous = null)
 {
     parent::__construct("Failed to write contents to \"{$path}\"", 0, $previous);
 }
예제 #11
0
 public function __construct($data, $message = "", $code = 0, \Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
     $this->data = $data;
 }
 public function __construct($reason, $message = "", $code = 0, \Exception $previous = null)
 {
     $this->reason = $reason;
     parent::__construct($message, $code, $previous);
 }
 /**
  * New NullArgunemtException instance
  *
  * @param string $argumentname  Name of null argument
  * @param \Exception $previous
  */
 public function __construct($argumentname, \Exception $previous = null)
 {
     $message = str('Argument "${0}" is null', ltrim($argumentname, '$'));
     parent::__construct($message, 0, $previous);
 }
 public function __construct(\Exception $previous = null)
 {
     parent::__construct('Failed to create Blade cache directory', 0, $previous);
 }