
Public Member Functions | |
| __construct ($message) | |
| Constructor. | |
| getExtendedMessage () | |
| Will retrieve the localized message. | |
| getTranslationKey () | |
| Returns the key used for localizing the message of this exception. | |
| getTranslationParameters () | |
| Returns the parameters used for the localization of this exception. | |
| prettyPrint ($useHtml=false) | |
| Prints a nice error message including backtrace. | |
| prettyPrintHtml () | |
| Prints a nice error message including backtrace - in html. | |
| printBacktrace ($indent=NULL) | |
| Prints the backtrace of this exception. | |
| getBacktrace () | |
| Fetches the backtrace of this exception. | |
Protected Attributes | |
| $translationKey | |
| The key that will be used to create the localized message. | |
| $translationParameters | |
| The translation parameters as required by spunQ_Language::translate(). | |
| $localizedParameters = array() | |
| Parameters that need to be localized. | |
| $backtrace = NULL | |
| The backtrace of this exception. | |
No id where one was expected, Id does not exist, etc.
Definition at line 7 of file InvalidObjectException.exception.php.
| spunQ_InvalidObjectException::__construct | ( | $ | message | ) |
Constructor.
| $message | The message describing the error. |
Reimplemented from spunQ_Exception.
Definition at line 13 of file InvalidObjectException.exception.php.
| spunQ_Exception::getBacktrace | ( | ) | [inherited] |
Fetches the backtrace of this exception.
Definition at line 91 of file Exception.exception.php.
| spunQ_LocalizedException::getExtendedMessage | ( | ) | [inherited] |
Will retrieve the localized message.
Reimplemented from spunQ_Exception.
Definition at line 48 of file LocalizedException.exception.php.
| spunQ_LocalizedException::getTranslationKey | ( | ) | [inherited] |
Returns the key used for localizing the message of this exception.
Definition at line 73 of file LocalizedException.exception.php.
| spunQ_LocalizedException::getTranslationParameters | ( | ) | [inherited] |
Returns the parameters used for the localization of this exception.
Definition at line 81 of file LocalizedException.exception.php.
| spunQ_Exception::prettyPrint | ( | $ | useHtml = false |
) | [inherited] |
Prints a nice error message including backtrace.
| $useHtml | Whether to generate html text. Will cause prettyPrintHtml() to be called. |
Definition at line 45 of file Exception.exception.php.
| spunQ_Exception::prettyPrintHtml | ( | ) | [inherited] |
Prints a nice error message including backtrace - in html.
Definition at line 63 of file Exception.exception.php.
| spunQ_Exception::printBacktrace | ( | $ | indent = NULL |
) | [inherited] |
Prints the backtrace of this exception.
| $indent | The string to prepend to every line. Will be passed to spunQ_Backtrace::toString(). |
Definition at line 82 of file Exception.exception.php.
spunQ_Exception::$backtrace = NULL [protected, inherited] |
The backtrace of this exception.
Definition at line 12 of file Exception.exception.php.
spunQ_LocalizedException::$localizedParameters = array() [protected, inherited] |
Parameters that need to be localized.
This array contains indexes of the $translationParameters array.
Definition at line 27 of file LocalizedException.exception.php.
spunQ_LocalizedException::$translationKey [protected, inherited] |
The key that will be used to create the localized message.
Definition at line 14 of file LocalizedException.exception.php.
spunQ_LocalizedException::$translationParameters [protected, inherited] |
The translation parameters as required by spunQ_Language::translate().
Definition at line 20 of file LocalizedException.exception.php.
1.5.9