summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Soap/Exception.php
diff options
context:
space:
mode:
authorarron <arron@copiadigital.co.uk>2013-12-05 18:28:08 +0000
committerarron <arron@copiadigital.co.uk>2013-12-05 18:28:08 +0000
commite0fd2e51a5546d0d85cf249a6ebf45f9e06e6017 (patch)
treeb7f17446bd2cbdb7dda26d04cbdc65679c8557f2 /library/SSRS/Soap/Exception.php
parente4ee94dbc8be64f9b53f1a323a314a60d0ac86d3 (diff)
downloadphp-ssrs-e0fd2e51a5546d0d85cf249a6ebf45f9e06e6017.zip
php-ssrs-e0fd2e51a5546d0d85cf249a6ebf45f9e06e6017.tar.gz
php-ssrs-e0fd2e51a5546d0d85cf249a6ebf45f9e06e6017.tar.bz2
Namespaced
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
+
+}