From df31a176f904b5b4c2f9505fe2fe352176728f9e Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 27 Jan 2006 23:56:46 +0000 Subject: Added error handling tutorial page. --- framework/Exceptions/TException.php | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'framework/Exceptions') diff --git a/framework/Exceptions/TException.php b/framework/Exceptions/TException.php index fb668458..1ad86f12 100644 --- a/framework/Exceptions/TException.php +++ b/framework/Exceptions/TException.php @@ -15,16 +15,19 @@ * * TException is the base class for all PRADO exceptions. * TException + * TApplicationException * TSystemException * TInvalidDataValueException * TInvalidDataTypeException + * TInvalidDataFormatException * TInvalidOperationException * TConfigurationException + * TPhpErrorException + * TSecurityException * TIOException * TDBException * THttpException * TNotSupportedException - * TApplicationException * * @author Qiang Xue * @version $Revision: $ $Date: $ @@ -119,15 +122,7 @@ class TNotSupportedException extends TSystemException { } -class TTemplateParsingException extends TSystemException -{ -} - -class TTemplateRuntimeException extends TSystemException -{ -} - -class TPhpErrorException extends TException +class TPhpErrorException extends TSystemException { public function __construct($errno,$errstr,$errfile,$errline) { @@ -151,7 +146,7 @@ class TPhpErrorException extends TException } -class THttpException extends TException +class THttpException extends TSystemException { private $_statusCode; -- cgit v1.2.3