From e0c69d2e0ca0e3a82ac04ede422af8996c0d7ff9 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 20 Nov 2005 02:59:17 +0000 Subject: --- framework/Exceptions/TException.php | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) (limited to 'framework/Exceptions/TException.php') diff --git a/framework/Exceptions/TException.php b/framework/Exceptions/TException.php index 84ff1b89..49519f9f 100644 --- a/framework/Exceptions/TException.php +++ b/framework/Exceptions/TException.php @@ -16,15 +16,10 @@ * TException is the base class for all PRADO exceptions. * TException * TSystemException - * TNullReferenceException - * TIndexOutOfRangeException - * TArithmeticException - * TInvalidValueException - * TInvalidTypeException - * TInvalidFormatException + * TInvalidDataValueException + * TInvalidDataTypeException * TInvalidOperationException * TConfigurationException - * TSecurityException * TIOException * TDBException * THttpException @@ -88,51 +83,47 @@ class TApplicationException extends TException { } -class TNullReferenceException extends TSystemException -{ -} - -class TIndexOutOfRangeException extends TSystemException +class TInvalidOperationException extends TSystemException { } -class TArithmeticException extends TSystemException +class TInvalidDataTypeException extends TSystemException { } -class TInvalidOperationException extends TSystemException +class TInvalidDataValueException extends TSystemException { } -class TInvalidDataTypeException extends TSystemException +class TInvalidDataFormatException extends TSystemException { } -class TInvalidDataValueException extends TSystemException +class TConfigurationException extends TSystemException { } -class TInvalidDataFormatException extends TSystemException +class TIOException extends TSystemException { } -class TConfigurationException extends TSystemException +class TDBException extends TSystemException { } -class TIOException extends TException +class TSecurityException extends TSystemException { } -class TDBException extends TException +class TNotSupportedException extends TSystemException { } -class TSecurityException extends TException +class TTemplateParsingException extends TSystemException { } -class TNotSupportedException extends TException +class TTemplateRuntimeException extends TSystemException { } -- cgit v1.2.3