示例#1
0
 public function __construct($url, $code = 0, Exception $previous = null)
 {
     $message = sprintf("The url '%s' is not valid.", $url);
     parent::__construct($message, $code, $previous);
 }
 public function __construct($templateName, $code = 0, Exception $previous = null)
 {
     $message = sprintf("The template '%s' does not exist!", $templateName);
     parent::__construct($message, $code, $previous);
 }
 public function __construct($path, $code = 0, Exception $previous = null)
 {
     $message = sprintf("The file was not found at '%s'.", $path);
     parent::__construct($message, $code, $previous);
 }
 public function __construct($message, $code = 0, Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }