/** * * @param type $message * @param type $code * @param type $previous */ public function __construct($title, $message = "", $code = 0, $internalCode = 0, $previous = NULL) { if (is_array($message)) { $message = implode("\n", $message); } parent::__construct($message, $code, $previous); $this->httpErrorTitle = $title; $this->internalCode = $internalCode; }
/** * * @param type $message * @param type $previous */ public function __construct($message, $internalCode = 400, $previous = null) { parent::__construct($message, $internalCode, $previous); }
/** * * @param string $message * @param integer $code * @param type $previous */ public function __construct($message, $code, $previous = null) { parent::__construct($message, $code, $previous); }