1 | <?php |
||
34 | class InvalidStatusCodeException extends InvalidArgumentException |
||
35 | { |
||
36 | /** |
||
37 | * Named constructor for non-numeric status codes. |
||
38 | * |
||
39 | * @param mixed $code the non-numeric code |
||
40 | * @return InvalidStatusCodeException |
||
41 | */ |
||
42 | public static function notNumeric($code) |
||
49 | |||
50 | /** |
||
51 | * Named constructor for numeric status codes below 100. |
||
52 | * |
||
53 | * @param mixed $code the status code |
||
54 | * @return InvalidStatusCodeException |
||
55 | */ |
||
56 | public static function notGreaterOrEqualTo100($code) |
||
63 | } |
||
64 |