Throws a new IO exception with the given message and a context snippet with this reader's content.
(String message)
| 1108 | * with this reader's content. |
| 1109 | */ |
| 1110 | private IOException syntaxError(String message) throws IOException { |
| 1111 | throw new MalformedJsonException(message + " near " + getSnippet()); |
| 1112 | } |
| 1113 | |
| 1114 | private CharSequence getSnippet() { |
| 1115 | StringBuilder snippet = new StringBuilder(); |
no test coverage detected