| 1 |
<?php |
| 2 |
namespace Aws\Exception; |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
class EventStreamDataException extends \RuntimeException |
| 8 |
{ |
| 9 |
private $errorCode; |
| 10 |
private $errorMessage; |
| 11 |
|
| 12 |
public function __construct($code, $message) |
| 13 |
{ |
| 14 |
$this->errorCode = $code; |
| 15 |
$this->errorMessage = $message; |
| 16 |
parent::__construct($message); |
| 17 |
} |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
public function getAwsErrorCode() |
| 25 |
{ |
| 26 |
return $this->errorCode; |
| 27 |
} |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
public function getAwsErrorMessage() |
| 35 |
{ |
| 36 |
return $this->errorMessage; |
| 37 |
} |
| 38 |
} |