From 001e69daef223679ad2331e61e78f45aec590f0a Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 20 Jan 2015 21:46:23 +0100 Subject: One class per file: framework/Util --- framework/Util/TRpcClientResponseException.php | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 framework/Util/TRpcClientResponseException.php (limited to 'framework/Util/TRpcClientResponseException.php') 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 @@ + + * @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 + * @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 -- cgit v1.2.3