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