src/Exception/BpostNotImplementedException.php 1 location
|
@@ 11-23 (lines=13) @@
|
| 8 |
|
* Class BpostNotImplementedException |
| 9 |
|
* @package Bpost\BpostApiClient\Exception\LogicException |
| 10 |
|
*/ |
| 11 |
|
class BpostNotImplementedException extends BpostException |
| 12 |
|
{ |
| 13 |
|
/** |
| 14 |
|
* @param string $message |
| 15 |
|
* @param int $code |
| 16 |
|
* @param \Exception $previous |
| 17 |
|
*/ |
| 18 |
|
public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 |
|
{ |
| 20 |
|
$message = 'Not implemented' . (empty($message) ? '' : ': ' . $message); |
| 21 |
|
parent::__construct($message, $code, $previous); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|
src/Exception/XmlException/BpostXmlInvalidItemException.php 1 location
|
@@ 11-23 (lines=13) @@
|
| 8 |
|
* Class BpostXmlInvalidItemException |
| 9 |
|
* @package Bpost\BpostApiClient\Exception\XmlException |
| 10 |
|
*/ |
| 11 |
|
class BpostXmlInvalidItemException extends BpostXmlException |
| 12 |
|
{ |
| 13 |
|
/** |
| 14 |
|
* @param string $message |
| 15 |
|
* @param int $code |
| 16 |
|
* @param \Exception $previous |
| 17 |
|
*/ |
| 18 |
|
public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 |
|
{ |
| 20 |
|
$message = 'Invalid item' . (empty($message) ? '' : ': ' . $message); |
| 21 |
|
parent::__construct($message, $code, $previous); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|
src/Exception/XmlException/BpostXmlNoReferenceFoundException.php 1 location
|
@@ 11-23 (lines=13) @@
|
| 8 |
|
* Class BpostXmlNoReferenceFoundException |
| 9 |
|
* @package Bpost\BpostApiClient\Exception\XmlException |
| 10 |
|
*/ |
| 11 |
|
class BpostXmlNoReferenceFoundException extends BpostXmlException |
| 12 |
|
{ |
| 13 |
|
/** |
| 14 |
|
* @param string $message |
| 15 |
|
* @param int $code |
| 16 |
|
* @param \Exception $previous |
| 17 |
|
*/ |
| 18 |
|
public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 |
|
{ |
| 20 |
|
$message = 'No reference found' . (empty($message) ? '' : ': ' . $message); |
| 21 |
|
parent::__construct($message, $code, $previous); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|
src/Exception/XmlException/BpostXmlNoUserIdFoundException.php 1 location
|
@@ 11-23 (lines=13) @@
|
| 8 |
|
* Class BpostXmlNoUserIdFoundException |
| 9 |
|
* @package Bpost\BpostApiClient\Exception\XmlException |
| 10 |
|
*/ |
| 11 |
|
class BpostXmlNoUserIdFoundException extends BpostXmlException |
| 12 |
|
{ |
| 13 |
|
/** |
| 14 |
|
* @param string $message |
| 15 |
|
* @param int $code |
| 16 |
|
* @param \Exception $previous |
| 17 |
|
*/ |
| 18 |
|
public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 |
|
{ |
| 20 |
|
$message = 'No UserId found' . (empty($message) ? '' : ': ' . $message); |
| 21 |
|
parent::__construct($message, $code, $previous); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|
src/Exception/BpostApiResponseException/BpostInvalidResponseException.php 1 location
|
@@ 11-23 (lines=13) @@
|
| 8 |
|
* Class BpostInvalidResponseException |
| 9 |
|
* @package Bpost\BpostApiClient\Exception\BpostApiResponseException |
| 10 |
|
*/ |
| 11 |
|
class BpostInvalidResponseException extends BpostApiResponseException |
| 12 |
|
{ |
| 13 |
|
/** |
| 14 |
|
* @param string $message |
| 15 |
|
* @param int $code |
| 16 |
|
* @param \Exception $previous |
| 17 |
|
*/ |
| 18 |
|
public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 |
|
{ |
| 20 |
|
$message = 'Invalid response' . (empty($message) ? '' : ': ' . $message); |
| 21 |
|
parent::__construct($message, $code, $previous); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|
src/Exception/BpostApiResponseException/BpostInvalidXmlResponseException.php 1 location
|
@@ 11-23 (lines=13) @@
|
| 8 |
|
* Class BpostInvalidXmlResponseException |
| 9 |
|
* @package Bpost\BpostApiClient\Exception\BpostApiResponseException |
| 10 |
|
*/ |
| 11 |
|
class BpostInvalidXmlResponseException extends BpostApiResponseException |
| 12 |
|
{ |
| 13 |
|
/** |
| 14 |
|
* @param string $message |
| 15 |
|
* @param int $code |
| 16 |
|
* @param \Exception $previous |
| 17 |
|
*/ |
| 18 |
|
public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 |
|
{ |
| 20 |
|
$message = 'Invalid XML-response' . (empty($message) ? '' : ': ' . $message); |
| 21 |
|
parent::__construct($message, $code, $previous); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|