ApplicationException Class Reference

Detailed Description

ApplicationException signals a general application exception.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 22 of file ApplicationException.php.

+ Inheritance diagram for ApplicationException:

Public Member Functions

 __construct (Request $request, Response $response, ApplicationError $error)
 
 getRequest ()
 
 getResponse ()
 
 getError ()
 

Constructor & Destructor Documentation

__construct ( Request  $request,
Response  $response,
ApplicationError  $error 
)

Constructor.

Parameters
$requestThe current request
$responseThe current response
$errorAn ApplicationError instance

Definition at line 34 of file ApplicationException.php.

Member Function Documentation

getRequest ( )

Get the current request.

Returns
The Request instance

Definition at line 48 of file ApplicationException.php.

getResponse ( )

Get the current response.

Returns
The Response instance

Definition at line 56 of file ApplicationException.php.

getError ( )

Get the error.

Returns
The ApplicationError instance

Definition at line 64 of file ApplicationException.php.