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