| 1 | <?php |
||
| 20 | class SocketException extends GenericsException |
||
| 21 | { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Create a new SocketException |
||
| 25 | * |
||
| 26 | * @param string $message |
||
| 27 | * The message to throw; May contain placeholder like {placeholder} and will be replaced by context |
||
| 28 | * elements |
||
| 29 | * @param array $context |
||
| 30 | * The context elements to replace in message |
||
| 31 | * @param number $code |
||
| 32 | * Optional code |
||
| 33 | * @param Exception $previous |
||
| 34 | * Optional previous exception |
||
| 35 | */ |
||
| 36 | 4 | public function __construct($message, array $context = array(), $code = 0, Exception $previous = null) |
|
| 40 | } |
||
| 41 |