summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Soap/Exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/SSRS/Soap/Exception.php')
-rwxr-xr-xlibrary/SSRS/Soap/Exception.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/library/SSRS/Soap/Exception.php b/library/SSRS/Soap/Exception.php
index c2c0977..9d0902a 100755
--- a/library/SSRS/Soap/Exception.php
+++ b/library/SSRS/Soap/Exception.php
@@ -1,3 +1,15 @@
<?php
-class SSRS_Soap_Exception extends Exception{} \ No newline at end of file
+class SSRS_Soap_Exception extends Exception{
+
+ public $httpCode;
+ public $response;
+
+ public function __construct($message, $code, $response) {
+ $this->httpCode = $code;
+ $this->response = $response;
+
+ parent::__construct($message, $code);
+ }
+
+} \ No newline at end of file