1 | <?php |
||
22 | class ServerException extends InvalidArgumentException implements ParserExceptionInterface |
||
23 | { |
||
24 | /** |
||
25 | * The exception to throw if the prefix is invalid. |
||
26 | * |
||
27 | * @param string $prefix the prefix |
||
28 | * @param string $message the error message |
||
29 | * |
||
30 | * @return ServerException the exception to throw |
||
31 | */ |
||
32 | 3 | public static function forInvalidPrefix($prefix, $message) |
|
42 | |||
43 | /** |
||
44 | * The exception to throw if a directive matcher is invalid. |
||
45 | * |
||
46 | * @param string $matcher the matcher |
||
47 | * @param string $message the error message |
||
48 | * |
||
49 | * @return ServerException the exception to throw |
||
50 | */ |
||
51 | 12 | public static function forInvalidMatcher($matcher, $message) |
|
61 | } |
||
62 |