MCPcopy Create free account
hub / github.com/davidgiven/luje / checkError

Method checkError

lib/java/io/PrintStream.java:229–237  ·  view source on GitHub ↗

Flushes this stream and returns the value of the error flag. @return true if either an IOException has been thrown previously or if setError() has been called; false otherwise. @see #setError()

()

Source from the content-addressed store, hash-verified

227 * @see #setError()
228 */
229 public boolean checkError() {
230 OutputStream delegate = out;
231 if (delegate == null) {
232 return ioError;
233 }
234
235 flush();
236 return ioError || delegate.checkError();
237 }
238
239 /**
240 * Closes this print stream. Flushes this stream and then closes the target

Callers

nothing calls this directly

Calls 2

flushMethod · 0.95
checkErrorMethod · 0.95

Tested by

no test coverage detected