Home
last modified time | relevance | path

Searched refs:EOFException (Results 1 – 25 of 34) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/io/
DOldObjectInputOutputStreamTest.java20 import java.io.EOFException;
47 } catch (EOFException e) { in test_read_writeBoolean()
71 } catch (EOFException e) { in test_read_writeByte()
95 } catch (EOFException e) { in test_read_writeChar()
119 } catch (EOFException e) { in test_read_writeDouble()
143 } catch (EOFException e) { in test_read_writeFloat()
167 } catch (EOFException e) { in test_read_writeInt()
191 } catch (EOFException e) { in test_read_writeLong()
215 } catch (EOFException e) { in test_read_writeShort()
239 } catch (EOFException e) { in test_read_writeUTF()
DOldDataInputOutputStreamTest.java23 import java.io.EOFException;
56 } catch (EOFException e) { in test_read_writeBoolean()
88 } catch (EOFException e) { in test_read_writeByte()
120 } catch (EOFException e) { in test_read_writeChar()
152 } catch (EOFException e) { in test_read_writeDouble()
184 } catch (EOFException e) { in test_read_writeFloat()
216 } catch (EOFException e) { in test_read_writeInt()
248 } catch (EOFException e) { in test_read_writeLong()
280 } catch (EOFException e) { in test_read_writeShort()
312 } catch (EOFException e) { in test_read_writeUTF()
DOldDataInputStreamTest.java24 import java.io.EOFException;
174 } catch (EOFException e) { in test_readFully$B()
204 } catch (EOFException e) { in test_readFully$BII()
294 } catch (EOFException e) { in test_readUnsignedByte()
317 } catch (EOFException e) { in test_readUnsignedShort()
340 } catch (EOFException e) { in test_readUTFLjava_io_DataInput()
DOldRandomAccessFileTest.java20 import java.io.EOFException;
397 } catch (EOFException e) { in test_read_writeBoolean()
443 } catch (EOFException e) { in test_read_writeByte()
489 } catch (EOFException e) { in test_read_writeChar()
526 } catch (EOFException e) { in test_read_writeDouble()
563 } catch (EOFException e) { in test_read_writeFloat()
609 } catch (EOFException e) { in test_read_writeInt()
655 } catch (EOFException e) { in test_read_writeLong()
701 } catch (EOFException e) { in test_read_writeShort()
734 } catch (EOFException e) { in test_read_writeUTF()
[all …]
/libcore/ojluni/src/main/java/java/io/
DEOFException.java41 public class EOFException extends IOException { class
49 public EOFException() { in EOFException() method in EOFException
61 public EOFException(String s) { in EOFException() method in EOFException
DRandomAccessFile.java495 throw new EOFException(); in readFully()
750 throw new EOFException(); in readBoolean()
775 throw new EOFException(); in readByte()
795 throw new EOFException(); in readUnsignedByte()
823 throw new EOFException(); in readShort()
851 throw new EOFException(); in readUnsignedShort()
879 throw new EOFException(); in readChar()
909 throw new EOFException(); in readInt()
DDataInputStream.java205 throw new EOFException(); in readFully()
252 throw new EOFException(); in readBoolean()
275 throw new EOFException(); in readByte()
298 throw new EOFException(); in readUnsignedByte()
DInputStream.java150 throw new EOFException(); in nullInputStream()
609 throw new EOFException(); in skipNBytes()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DEOFExceptionTest.java22 import java.io.EOFException;
35 } catch (EOFException e) { in test_Constructor()
48 } catch (EOFException e) { in test_ConstructorLjava_lang_String()
DDataInputStreamTest.java24 import java.io.EOFException;
562 } catch (EOFException e) { in test_skipBytesI()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java19 import java.io.EOFException;
126 instance.run(new EOFException()); in testDeclaredExceptionIntersectionIsSubtype()
128 } catch (EOFException expected) { in testDeclaredExceptionIntersectionIsSubtype()
147 instance.run(new EOFException()); in testDeclaredExceptionIntersectionIsEmpty()
163 instance.run(new EOFException()); in testDeclaredExceptionIntersectionIsSubset()
165 } catch (EOFException expected) { in testDeclaredExceptionIntersectionIsSubset()
184 instance.run(new EOFException()); in testDeclaredExceptionIntersectedByExactReturnTypes()
186 } catch (EOFException expected) { in testDeclaredExceptionIntersectedByExactReturnTypes()
194 ((ThrowsEOFExceptionReturnsString) instance).run(new EOFException()); in testDeclaredExceptionIntersectedByExactReturnTypes()
196 } catch (EOFException expected) { in testDeclaredExceptionIntersectedByExactReturnTypes()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DUndeclaredThrowableExceptionTests.java5 import java.io.EOFException;
10 private static EOFException throwable = new EOFException();
/libcore/ojluni/src/main/java/sun/misc/
DIOUtils.java32 import java.io.EOFException;
68 throw new EOFException("Detect premature EOF"); in readFully()
DResource.java28 import java.io.EOFException;
131 throw new EOFException("Detect premature EOF"); in getBytes()
/libcore/ojluni/src/main/java/java/util/zip/
DGZIPInputStream.java33 import java.io.EOFException;
285 throw new EOFException(); in readUByte()
305 throw new EOFException(); in skipBytes()
DInflaterInputStream.java32 import java.io.EOFException;
305 throw new EOFException("Unexpected end of ZLIB input stream"); in fill()
DZipInputStream.java31 import java.io.EOFException;
310 } catch (EOFException e) { in readLOC()
457 throw new EOFException(); in readFully()
/libcore/luni/src/main/java/libcore/io/
DStreams.java25 import java.io.EOFException;
123 throw new EOFException(); in readFully()
292 throw new EOFException(); in readAsciiLine()
/libcore/ojluni/src/test/java/io/InputStream/
DNullInputStream.java30 import java.io.EOFException;
158 @Test(expectedExceptions = EOFException.class)
DSkip.java33 import java.io.EOFException;
78 } catch (EOFException eofe) { in dotestExact()
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterOutputStreamTest.java21 import java.io.EOFException;
160 } catch (EOFException expected) { in testSyncFlushDeflater()
DGZIPInputStreamTest.java21 import java.io.EOFException;
158 } catch (EOFException expected) { in testTrailingHeaderAndPartialMember()
/libcore/ojluni/src/main/java/java/security/
DDigestInputStream.java29 import java.io.EOFException;
DDigestOutputStream.java29 import java.io.EOFException;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DDeflaterOutputStreamTest.java20 import java.io.EOFException;
197 } catch (EOFException e) { in test_close()

12