check to make sure that the stream has not been closed
()
| 178 | |
| 179 | /** check to make sure that the stream has not been closed */ |
| 180 | private void ensureOpen() throws IOException { |
| 181 | if (response == null || closed) { |
| 182 | throw new IOException(Localizer.getMessage("jsp.error.stream.closed")); |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | |
| 187 | @Override |
no test coverage detected