diff options
Diffstat (limited to 'framework/Exceptions')
-rw-r--r-- | framework/Exceptions/TApplicationException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TConfigurationException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TDbConnectionException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TDbException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/THttpException.php | 5 | ||||
-rw-r--r-- | framework/Exceptions/TIOException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TInvalidDataTypeException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TInvalidDataValueException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TInvalidOperationException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TNotSupportedException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TPhpErrorException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TSystemException.php | 6 | ||||
-rw-r--r-- | framework/Exceptions/TTemplateException.php | 6 |
15 files changed, 59 insertions, 30 deletions
diff --git a/framework/Exceptions/TApplicationException.php b/framework/Exceptions/TApplicationException.php index 9de434e0..ccb97d46 100644 --- a/framework/Exceptions/TApplicationException.php +++ b/framework/Exceptions/TApplicationException.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TApplicationException class * * TApplicationException is the base class for all user application-level exceptions. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TApplicationException extends TException diff --git a/framework/Exceptions/TConfigurationException.php b/framework/Exceptions/TConfigurationException.php index e2506472..8de0c1ae 100644 --- a/framework/Exceptions/TConfigurationException.php +++ b/framework/Exceptions/TConfigurationException.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TConfigurationException class * @@ -16,7 +18,7 @@ * such as error in an application configuration file or control template file. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TConfigurationException extends TSystemException diff --git a/framework/Exceptions/TDbConnectionException.php b/framework/Exceptions/TDbConnectionException.php index c39c6d8a..e303af44 100644 --- a/framework/Exceptions/TDbConnectionException.php +++ b/framework/Exceptions/TDbConnectionException.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TDbConnectionException class * * TDbConnectionException represents an exception caused by DB connection failure. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TDbConnectionException extends TDbException diff --git a/framework/Exceptions/TDbException.php b/framework/Exceptions/TDbException.php index fe1d24f4..7f466204 100644 --- a/framework/Exceptions/TDbException.php +++ b/framework/Exceptions/TDbException.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TDbException class * * TDbException represents an exception related with DB operations. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TDbException extends TSystemException diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index 8337f3be..13d1203f 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TErrorHandler class * @@ -44,7 +46,7 @@ * <module id="error" class="TErrorHandler" ErrorTemplatePath="System.Exceptions" /> * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TErrorHandler extends TModule diff --git a/framework/Exceptions/TException.php b/framework/Exceptions/TException.php index 80dd01f1..fb1db200 100644 --- a/framework/Exceptions/TException.php +++ b/framework/Exceptions/TException.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TException class * @@ -27,7 +29,7 @@ * "message.txt" will be used instead. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TException extends Exception diff --git a/framework/Exceptions/THttpException.php b/framework/Exceptions/THttpException.php index f151138b..883c2b63 100644 --- a/framework/Exceptions/THttpException.php +++ b/framework/Exceptions/THttpException.php @@ -6,9 +6,10 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; /** * THttpException class @@ -18,7 +19,7 @@ * It is used by {@link TErrorHandler} to provide different error output to users. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class THttpException extends TSystemException diff --git a/framework/Exceptions/TIOException.php b/framework/Exceptions/TIOException.php index 42231284..9b3f18bb 100644 --- a/framework/Exceptions/TIOException.php +++ b/framework/Exceptions/TIOException.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TIOException class * * TIOException represents an exception related with improper IO operations. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TIOException extends TSystemException diff --git a/framework/Exceptions/TInvalidDataTypeException.php b/framework/Exceptions/TInvalidDataTypeException.php index 03f94985..71670d7d 100644 --- a/framework/Exceptions/TInvalidDataTypeException.php +++ b/framework/Exceptions/TInvalidDataTypeException.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TInvalidDataTypeException class * * TInvalidDataTypeException represents an exception caused by invalid data type. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TInvalidDataTypeException extends TSystemException diff --git a/framework/Exceptions/TInvalidDataValueException.php b/framework/Exceptions/TInvalidDataValueException.php index 075bb871..17ab3ccd 100644 --- a/framework/Exceptions/TInvalidDataValueException.php +++ b/framework/Exceptions/TInvalidDataValueException.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TInvalidDataValueException class * * TInvalidDataValueException represents an exception caused by invalid data value. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TInvalidDataValueException extends TSystemException diff --git a/framework/Exceptions/TInvalidOperationException.php b/framework/Exceptions/TInvalidOperationException.php index 4366e5f0..83725658 100644 --- a/framework/Exceptions/TInvalidOperationException.php +++ b/framework/Exceptions/TInvalidOperationException.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TInvalidOperationException class * * TInvalidOperationException represents an exception caused by invalid operations. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TInvalidOperationException extends TSystemException diff --git a/framework/Exceptions/TNotSupportedException.php b/framework/Exceptions/TNotSupportedException.php index b793dbbe..7d0c733b 100644 --- a/framework/Exceptions/TNotSupportedException.php +++ b/framework/Exceptions/TNotSupportedException.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TNotSupportedException class * * TNotSupportedException represents an exception caused by using an unsupported PRADO feature. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TNotSupportedException extends TSystemException diff --git a/framework/Exceptions/TPhpErrorException.php b/framework/Exceptions/TPhpErrorException.php index 75218c44..a65342ae 100644 --- a/framework/Exceptions/TPhpErrorException.php +++ b/framework/Exceptions/TPhpErrorException.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TPhpErrorException class * @@ -16,7 +18,7 @@ * This exception is mainly thrown within a PHP error handler. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TPhpErrorException extends TSystemException diff --git a/framework/Exceptions/TSystemException.php b/framework/Exceptions/TSystemException.php index 5d5c7d8e..6a863907 100644 --- a/framework/Exceptions/TSystemException.php +++ b/framework/Exceptions/TSystemException.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TSystemException class * * TSystemException is the base class for all framework-level exceptions. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.0 */ class TSystemException extends TException diff --git a/framework/Exceptions/TTemplateException.php b/framework/Exceptions/TTemplateException.php index 7deb6ed0..4b58df10 100644 --- a/framework/Exceptions/TTemplateException.php +++ b/framework/Exceptions/TTemplateException.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Exceptions + * @package Prado\Exceptions */ +namespace Prado\Exceptions; + /** * TTemplateException class * * TTemplateException represents an exception caused by invalid template syntax. * * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Exceptions + * @package Prado\Exceptions * @since 3.1 */ class TTemplateException extends TConfigurationException |