diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-20 21:46:23 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-20 21:46:23 +0100 |
commit | 001e69daef223679ad2331e61e78f45aec590f0a (patch) | |
tree | c26b6fe7cdca1d1749c439046124534fc27bf197 /framework/Util/TRpcClientResponseException.php | |
parent | 1729b4bffedbcd0e0bdff80b74aa9944312d817c (diff) |
One class per file: framework/Util
Diffstat (limited to 'framework/Util/TRpcClientResponseException.php')
-rw-r--r-- | framework/Util/TRpcClientResponseException.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/framework/Util/TRpcClientResponseException.php b/framework/Util/TRpcClientResponseException.php new file mode 100644 index 00000000..010e4b81 --- /dev/null +++ b/framework/Util/TRpcClientResponseException.php @@ -0,0 +1,34 @@ +<?php +/** + * @author Robin J. Rogge <rrogge@bigpoint.net> + * @link http://www.pradosoft.com/ + * @copyright 2010 Bigpoint GmbH + * @license http://www.pradosoft.com/license/ + * @since 3.2 + * @package System.Util + */ + +/** + * TRpcClientResponseException class + * + * This Exception is fired when the + * + * @author Robin J. Rogge <rrogge@bigpoint.net> + * @version $Id$ + * @package System.Util + * @since 3.2 + */ + +class TRpcClientResponseException extends TApplicationException +{ + /** + * @param string error message + * @param integer error code (optional) + */ + public function __construct($errorMessage, $errorCode = null) + { + $this->setErrorCode($errorCode); + + parent::__construct($errorMessage); + } +}
\ No newline at end of file |