summaryrefslogtreecommitdiff
path: root/framework/Util/TRpcClientResponseException.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Util/TRpcClientResponseException.php')
-rw-r--r--framework/Util/TRpcClientResponseException.php34
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