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, 8 insertions, 6 deletions
diff --git a/library/SSRS/Soap/Exception.php b/library/SSRS/Soap/Exception.php
index 5e6170d..2257404 100755
--- a/library/SSRS/Soap/Exception.php
+++ b/library/SSRS/Soap/Exception.php
@@ -1,15 +1,17 @@
<?php
-class SSRS_Soap_Exception extends Exception{
-
+namespace SSRS\Soap;
+
+class Exception extends \Exception {
+
public $httpCode;
public $response;
-
+
public function __construct($message, $code, $response = null) {
$this->httpCode = $code;
$this->response = $response;
-
+
parent::__construct($message, $code);
}
-
-} \ No newline at end of file
+
+}