Ejemplo n.º 1
0
 public function __construct($message)
 {
     parent::__construct($message, 501);
 }
 /**
  * InternalServerErrorException constructor.
  *
  * @param string $message  Error message (HTTP) that defines this exception
  * @param int    $code     Error code (HTTP) that defines this exception
  * @param null   $previous Inner/Previous exception that triggered this exception
  */
 public function __construct($message = self::HTTP_MESSAGE, $code = self::HTTP_CODE, $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }