dmBridge PHP API
DMException Class Reference
Inheritance diagram for DMException:

Public Member Functions


Detailed Description


Constructor & Destructor Documentation


Member Function Documentation

DMException::getHTTPResponseCode ( ) [final]
Returns:
int

Definition at line 49 of file DMException.php.

Referenced by UNLVSpatialController::view().

DMException::getLogMessage ( ) [final]

Wraps getMessage() in order to comply with DMLoggable.

Returns:
string

Implements DMLoggable.

Definition at line 69 of file DMException.php.

DMException::getLogPriority ( ) [final]

Wraps getCode().

Returns:
int

Implements DMLoggable.

Definition at line 78 of file DMException.php.

DMException::hasBeenLogged ( ) [final]
Returns:
Boolean
Since:
0.1

Definition at line 35 of file DMException.php.

DMException::setHasBeenLogged ( bool) [final]
Parameters:
boolbool

Definition at line 42 of file DMException.php.

DMException::setHTTPResponseCode ( int) [final]

If the exception is to be presented publicly, it should have a useful HTTP status code set.

Some exceptions are handled internally in which case this doesn't matter.

Parameters:
intint

Definition at line 60 of file DMException.php.

Referenced by DMUnavailableModelException::__construct(), DMNoSuchMethodException::__construct(), DMNoSuchFieldException::__construct(), DMIOException::__construct(), DMInvalidRouteException::__construct(), DMInvalidEmailException::__construct(), and DMIllegalArgumentException::__construct().

DMException::setLogPriority ( int)

Wraps setCode().

Parameters:
int

Definition at line 87 of file DMException.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables