ApplicationException Class Reference
Detailed Description
ApplicationException signals a general application exception.
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
-
$request The current request $response The current response $error An 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.