| 1 | <?php |
||
| 14 | class ChannelHandleException extends RuntimeException implements ExceptionInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @param ChannelInterface $channel |
||
| 18 | * @param Delivery $delivery |
||
| 19 | * @param Exception $previous |
||
| 20 | * |
||
| 21 | * @return ChannelHandleException |
||
| 22 | */ |
||
| 23 | 2 | public static function createOnException(ChannelInterface $channel, Delivery $delivery, Exception $previous) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @param ChannelInterface $channel |
||
| 41 | * @param Message $message |
||
| 42 | * @param mixed $recipient |
||
| 43 | * |
||
| 44 | * @return ChannelHandleException |
||
| 45 | */ |
||
| 46 | 1 | public static function unsupportedRecipient(ChannelInterface $channel, Message $message, $recipient) |
|
| 57 | } |
||
| 58 |