$user)); * * @param string $message status message, custom content to display with error * @param array $variables translation variables * @return void */ public function __construct($message = NULL, array $variables = NULL, Exception $previous = NULL) { parent::__construct($message, $variables, $this->_code, $previous); } /** * Store the Request that triggered this exception. * * @param Request $request Request object that triggered this exception. * @return HTTP_Exception */ public function request(Request $request = NULL) { if ($request === NULL) return $this->_request; $this->_request = $request; return $this; } /** * Generate a Response for the current Exception * * @uses Kohana_Exception::response() * @return Response */ public function get_response() { return Kohana_Exception::response($this); } }