TException class
TException is the base class for all PRADO exceptions.
TException provides the functionality of translating an error code into a descriptive error message in a language that is preferred by user browser. Additional parameters may be passed together with the error code so that the translated message contains more detailed information.
By default, TException looks for a message file by calling getErrorMessageFile() method, which uses the "message-xx.txt" file located under "System.Exceptions" folder, where "xx" is the code of the user preferred language. If such a file is not found, "message.txt" will be used instead.
Located in /Exceptions/TException.php (line 35)
Exception | --TException
| Class | Description |
|---|---|
| TSystemException | TSystemException class |
| TApplicationException | TApplicationException class |
| TMessageSourceIOException | TMessageSourceIOException thrown when unable to modify message source data. |
Constructor.
Translates an error code into an error message.
Documentation generated on Sun, 04 Jun 2006 18:59:21 -0400 by phpDocumentor 1.3.0RC4