diff options
Diffstat (limited to 'library/SSRS/Soap/Exception.php')
-rwxr-xr-x | library/SSRS/Soap/Exception.php | 14 |
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 + +} |