Searched refs:checkError (Results 1 - 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/www/http/
H A DChunkedOutputStream.java178 public boolean checkError() { method in class:ChunkedOutputStream
179 return out.checkError();
238 if (checkError()){
H A DHttpClient.java347 * 3) It hasn't had a error (PrintStream.checkError())
360 !(serverOutput.checkError())) {
/libcore/support/src/test/java/libcore/java/io/
H A DNullPrintStream.java32 public boolean checkError() { return false; } method in class:NullPrintStream
/libcore/ojluni/src/main/java/java/io/
H A DPrintWriter.java49 * occurred by invoking {@link #checkError checkError()}.
314 * @see #checkError()
332 * @see #checkError()
355 public boolean checkError() { method in class:PrintWriter
361 return pw.checkError();
363 return psOut.checkError();
372 * #checkError()} to return <tt>true</tt> until {@link
383 * #checkError()} to return <tt>false</tt> until another write
H A DPrintStream.java41 * internal flag that can be tested via the <code>checkError</code> method.
402 public boolean checkError() { method in class:PrintStream
407 return ps.checkError();
416 * #checkError()} to return <tt>true</tt> until {@link
429 * #checkError()} to return <tt>false</tt> until another write
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DConsoleTest.java63 assertFalse(console.writer().checkError());
H A DPrintStreamTest.java138 * java.io.PrintStream#checkError()
141 // Test for method boolean java.io.PrintStream.checkError()
154 assertTrue("Checkerror should return true", os.checkError());
162 assertFalse(os.checkError());
164 assertTrue(os.checkError());
166 assertFalse(os.checkError());
H A DPrintWriterTest.java196 * java.io.PrintWriter#checkError()
199 // Test for method boolean java.io.PrintWriter.checkError()
202 assertTrue("Failed to return error", pw.checkError());
214 assertTrue("Failed to return error", mpw.checkError());
216 assertFalse("Internal error state has not be cleared", mpw.checkError());
227 .checkError());
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DHttpURLConnection.java621 if (ps.checkError()) {
3159 checkError();
3174 checkError();
3183 void checkError () throws IOException { method in class:HttpURLConnection.StreamingOutputStream
3190 if (((PrintStream)out).checkError()) {

Completed in 1663 milliseconds