|
dmBridge PHP API
|
Inheritance diagram for DMException:Definition at line 13 of file DMException.php.
| DMException::__construct | ( | $ | msg = null, |
| $ | code = 2 |
||
| ) |
| string | msg |
| int | code |
Reimplemented in DMDataStoreException, DMClassNotFoundException, DMConstraintException, DMIllegalArgumentException, DMInternalErrorException, DMIOException, DMNoSuchFieldException, DMNoSuchMethodException, DMSecurityException, DMInvalidEmailException, DMUnavailableModelException, DMModuleActivationException, and DMFileNotFoundException.
Definition at line 26 of file DMException.php.
| DMException::getHTTPResponseCode | ( | ) | [final] |
Definition at line 49 of file DMException.php.
Referenced by UNLVSpatialController::view().
| DMException::getLogMessage | ( | ) | [final] |
Wraps getMessage() in order to comply with DMLoggable.
Implements DMLoggable.
Definition at line 69 of file DMException.php.
| DMException::getLogPriority | ( | ) | [final] |
| DMException::hasBeenLogged | ( | ) | [final] |
| DMException::setHasBeenLogged | ( | $ | bool | ) | [final] |
| bool | bool |
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.
| int | int |
Definition at line 60 of file DMException.php.
Referenced by DMUnavailableModelException::__construct(), DMNoSuchMethodException::__construct(), DMNoSuchFieldException::__construct(), DMIOException::__construct(), DMInvalidRouteException::__construct(), DMInvalidEmailException::__construct(), DMIllegalArgumentException::__construct(), and DMFileNotFoundException::__construct().
| DMException::setLogPriority | ( | $ | int | ) |