Class TException
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 TException::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.
- Exception
-
TException
Direct known subclasses
TApplicationException, TInvalidCallbackException, TRpcException, TSqlMapException, TSystemExceptionIndirect known subclasses
TActiveRecordConfigurationException, TActiveRecordException, TIOException, TNotSupportedException, TPhpErrorException, TRpcClientRequestException, TRpcClientResponseException, TSqlMapConfigurationException, TSqlMapDuplicateException, TSqlMapExecutionException, TSqlMapUndefinedException, TTemplateException, TConfigurationException, TDbConnectionException, TDbException, THttpException, TInvalidDataTypeException, TInvalidDataValueException, TInvalidOperationException, TInvalidPropertyException
Package: System\Exceptions
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Exceptions/TException.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Exceptions/TException.php
public
|
|
protected
string
|
|
protected
string
|
|
public
string
|
|
public
|
|
public
string
|
|
protected
|
__toString(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
public static
array
|
$_messageCache | array() |
$code,
$file,
$line,
$message
|