wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
ApplicationException Class Reference
+ Inheritance diagram for ApplicationException:

Public Member Functions

 __construct (Request $request, Response $response, $message=null, $code=0)
 
 getRequest ()
 
 getResponse ()
 
 getCodeString ()
 

Private Attributes

 $_request = null
 
 $_response = null
 

Detailed Description

wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH

Licensed under the terms of any of the following licenses at your choice:

See the license.txt file distributed with this work for additional information.

Id:
class.ApplicationException.php 1462 2014-02-04 23:52:27Z iherwig
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 27 of file class.ApplicationException.php.

Constructor & Destructor Documentation

ApplicationException::__construct ( Request  $request,
Response  $response,
  $message = null,
  $code = 0 
)

Constructor

Parameters
requestThe current request
responseThe current response
messageThe exception message
codeThe exception code
previousThe previous exception

Definition at line 40 of file class.ApplicationException.php.

Member Function Documentation

ApplicationException::getRequest ( )

Get the current request

Returns
The Request instance

Definition at line 52 of file class.ApplicationException.php.

References $_request.

ApplicationException::getResponse ( )

Get the current response

Returns
The Response instance

Definition at line 61 of file class.ApplicationException.php.

References $_response.

Referenced by MultipleActionController\executeKernel().

ApplicationException::getCodeString ( )

Get the string representation of the exception code. Exception codes are defined as constants of the form: const CODE_STRING = CODE_NUMBER

Returns
The exception code string

Definition at line 71 of file class.ApplicationException.php.

Referenced by MultipleActionController\executeKernel().

Member Data Documentation

ApplicationException::$_request = null
private

Definition at line 29 of file class.ApplicationException.php.

Referenced by getRequest().

ApplicationException::$_response = null
private

Definition at line 30 of file class.ApplicationException.php.

Referenced by getResponse().


The documentation for this class was generated from the following file: