Searched refs:ioException (Results 1 – 8 of 8) sorted by relevance
/libcore/luni/src/test/java/libcore/java/io/ |
D | UncheckedIOExceptionTest.java | 32 IOException ioException = new IOException(); in test_ConstructorLjava_lang_IOException() local 33 UncheckedIOException e = new UncheckedIOException(ioException); in test_ConstructorLjava_lang_IOException() 35 assertSame(ioException, e.getCause()); in test_ConstructorLjava_lang_IOException() 42 IOException ioException = new IOException(); in test_ConstructorLjava_lang_String_IOException() local 43 UncheckedIOException e = new UncheckedIOException("errmsg", ioException); in test_ConstructorLjava_lang_String_IOException() 45 assertSame(ioException, e.getCause()); in test_ConstructorLjava_lang_String_IOException()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | IOExceptionTest.java | 62 IOException ioException = new IOException( in test_ConstructorLString_LThrowable() local 64 assertEquals("A fake IOException", ioException.getMessage()); //$NON-NLS-1$ in test_ConstructorLString_LThrowable() 84 IOException ioException = new IOException(cause); in test_Constructor_LThrowable() local 85 assertEquals(cause.toString(), ioException.getMessage()); in test_Constructor_LThrowable() 87 ioException = new IOException((Throwable) null); in test_Constructor_LThrowable() 88 assertNull(ioException.getMessage()); in test_Constructor_LThrowable()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | SimpleFileVisitorTest.java | 52 IOException ioException = new IOException(); in test_postVisitDirectory() local 58 fileVisitor.postVisitDirectory(null, ioException); in test_postVisitDirectory() 63 fileVisitor.postVisitDirectory(stubPath, ioException); in test_postVisitDirectory() 66 assertSame(ioException, actual); in test_postVisitDirectory() 90 IOException ioException = new IOException(); in test_visitFileFailed() local 101 ioException)); in test_visitFileFailed() 108 ioException)); in test_visitFileFailed() 111 assertSame(ioException, actual); in test_visitFileFailed()
|
D | DirectoryIteratorExceptionTest.java | 27 IOException ioException = new IOException(); in test_constructor() local 28 DirectoryIteratorException exception = new DirectoryIteratorException(ioException); in test_constructor() 30 assertSame(ioException, exception.getCause()); in test_constructor()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | FormatterTest.java | 678 assertNull(f.ioException()); in test_close() 703 assertNull(f.ioException()); in test_ioException() 705 assertNotNull(f.ioException()); in test_ioException() 712 assertNotNull(f.ioException()); in test_ioException()
|
D | ScannerTest.java | 519 assertNull(s.ioException()); // No operation, no exception in test_ioException() 522 assertNotNull(s.ioException()); in test_ioException() 523 assertTrue(s.ioException() instanceof IOException); in test_ioException()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 1127 public IOException ioException() { in ioException() method in Scanner
|
D | Formatter.java | 2424 public IOException ioException() { in ioException() method in Formatter
|