public function __construct($message = "")
 {
     parent::__construct($message);
 }
コード例 #2
0
 public function __construct($namespace, $settingName)
 {
     parent::__construct("The setting {$namespace}.{$settingName} has not been set.");
 }
コード例 #3
0
 public function __construct($filename)
 {
     parent::__construct("The file {$filename} could not be found.");
 }
コード例 #4
0
 /**
  * @param \Exception|\Error $nonRhubarbException
  */
 public function __construct($nonRhubarbException)
 {
     parent::__construct(basename(get_class($nonRhubarbException)) . " - " . $nonRhubarbException->getMessage());
     $this->line = $nonRhubarbException->getLine();
     $this->file = $nonRhubarbException->getFile();
 }
コード例 #5
0
 public function __construct($url = "")
 {
     parent::__construct("The resource '" . $url . "' could not be found.");
 }
コード例 #6
0
 public function __construct($className, \Exception $previous = null)
 {
     parent::__construct("The class '{$className}' does not have a valid mapping for the DI container.", $previous);
 }
コード例 #7
0
 public function __construct($path = "")
 {
     parent::__construct("The static resource '" . $path . "' could not be found.");
 }