/** * Flushes this writer and returns the value of the error flag. * * @return {@code true} if either an {@code IOException} has been thrown * previously or if {@code setError()} has been called; * {@code false} otherwise. * @see #setError() */ public boolean checkError() { Writer delegate = out; if (delegate == null) { return ioError; } flush(); return ioError || delegate.checkError(); }
/** * Flushes this writer and returns the value of the error flag. * * @return {@code true} if either an {@code IOException} has been thrown * previously or if {@code setError()} has been called; * {@code false} otherwise. * @see #setError() */ public boolean checkError() { Writer delegate = out; if (delegate == null) { return ioError; } flush(); return ioError || delegate.checkError(); }
/** * Flushes this writer and returns the value of the error flag. * * @return {@code true} if either an {@code IOException} has been thrown * previously or if {@code setError()} has been called; * {@code false} otherwise. * @see #setError() */ public boolean checkError() { Writer delegate = out; if (delegate == null) { return ioError; } flush(); return ioError || delegate.checkError(); }
/** * Flushes this writer and returns the value of the error flag. * * @return {@code true} if either an {@code IOException} has been thrown * previously or if {@code setError()} has been called; * {@code false} otherwise. * @see #setError() */ public boolean checkError() { Writer delegate = out; if (delegate == null) { return ioError; } flush(); return ioError || delegate.checkError(); }
/** * Flushes this writer and returns the value of the error flag. * * @return {@code true} if either an {@code IOException} has been thrown * previously or if {@code setError()} has been called; * {@code false} otherwise. * @see #setError() */ public boolean checkError() { Writer delegate = out; if (delegate == null) { return ioError; } flush(); return ioError || delegate.checkError(); }
/** * Flushes this writer and returns the value of the error flag. * * @return {@code true} if either an {@code IOException} has been thrown * previously or if {@code setError()} has been called; * {@code false} otherwise. * @see #setError() */ public boolean checkError() { Writer delegate = out; if (delegate == null) { return ioError; } flush(); return ioError || delegate.checkError(); }
/** * Flushes this writer and returns the value of the error flag. * * @return {@code true} if either an {@code IOException} has been thrown * previously or if {@code setError()} has been called; * {@code false} otherwise. * @see #setError() */ public boolean checkError() { Writer delegate = out; if (delegate == null) { return ioError; } flush(); return ioError || delegate.checkError(); }
/** * Flushes this writer and returns the value of the error flag. * * @return {@code true} if either an {@code IOException} has been thrown * previously or if {@code setError()} has been called; * {@code false} otherwise. * @see #setError() */ public boolean checkError() { Writer delegate = out; if (delegate == null) { return ioError; } flush(); return ioError || delegate.checkError(); }