| 1 | <?php |
||
| 27 | class InvalidResponseException extends WosException |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $parameterName; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * InvalidResponseException constructor. |
||
| 36 | * |
||
| 37 | * @param string $oarameterName The parameter/HTTP header that was expected in the response (e.g. 'x-ddn-oid') |
||
| 38 | * @param string $requestAction The action that was requested, if known (e.g., 'getMetdata()') |
||
| 39 | */ |
||
| 40 | public function __construct($oarameterName, $requestAction = '') |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getParameterName() |
||
| 60 | } |
||
| 61 |