Пример #1
0
 /**
  * MissingMethodException constructor
  *
  * @param string $message  Exception message
  * @param int    $code     Exception code
  * @param null   $previous Previous exception
  */
 public function __construct($message = '', $code = 500, $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
Пример #2
0
 /**
  * Rad\Error\FatalErrorException Constructor
  *
  * @param string      $message Message string.
  * @param int         $code    Code.
  * @param string|null $file    File name.
  * @param int|null    $line    Line number.
  */
 public function __construct($message, $code = 500, $file = null, $line = null)
 {
     parent::__construct($message, $code);
     $this->file = $file;
     $this->line = $line;
 }