/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ClosedChannelExceptionTest.java | 18 import java.nio.channels.ClosedChannelException; 33 ClosedChannelException e = new ClosedChannelException(); in test_Constructor() 44 SerializationTest.verifySelf(new ClosedChannelException()); in testSerializationSelf() 52 SerializationTest.verifyGolden(this, new ClosedChannelException()); in testSerializationCompatibility()
|
D | FileChannelTest.java | 32 import java.nio.channels.ClosedChannelException; 199 } catch (ClosedChannelException expected) { in test_forceJ_closed() 205 } catch (ClosedChannelException expected) { in test_forceJ_closed() 310 } catch (ClosedChannelException expected) { in test_position_Closed() 317 } catch (ClosedChannelException expected) { in test_position_Closed() 324 } catch (ClosedChannelException expected) { in test_position_Closed() 338 } catch (ClosedChannelException expected) { in test_positionJ_Closed() 345 } catch (ClosedChannelException expected) { in test_positionJ_Closed() 352 } catch (ClosedChannelException expected) { in test_positionJ_Closed() 482 } catch (ClosedChannelException e) { in test_size_Closed() [all …]
|
D | SourceChannelTest.java | 21 import java.nio.channels.ClosedChannelException; 113 } catch (ClosedChannelException e) { in test_read_LByteBuffer_SourceClosed() 121 } catch (ClosedChannelException e) { in test_read_LByteBuffer_SourceClosed() 145 } catch (ClosedChannelException e) { in test_read_LByteBuffer_SourceClosed() 262 } catch (ClosedChannelException e) { in test_read_$LByteBuffer_SourceClosed() 270 } catch (ClosedChannelException e) { in test_read_$LByteBuffer_SourceClosed() 288 } catch (ClosedChannelException e) { in test_read_$LByteBuffer_SourceClosed() 456 } catch (ClosedChannelException e) { in test_read_$LByteBufferII_SourceClosed() 464 } catch (ClosedChannelException e) { in test_read_$LByteBufferII_SourceClosed() 500 } catch (ClosedChannelException e) { in test_read_$LByteBufferII_SourceClosed() [all …]
|
D | SelectableChannelTest.java | 20 import java.nio.channels.ClosedChannelException; 74 throws ClosedChannelException { in register()
|
D | FileLockTest.java | 23 import java.nio.channels.ClosedChannelException; 182 } catch (ClosedChannelException e) { in test_release() 195 } catch (ClosedChannelException e) { in test_release()
|
D | SinkChannelTest.java | 23 import java.nio.channels.ClosedChannelException; 174 } catch (ClosedChannelException expected) { in test_write_LByteBuffer_SinkClosed() 254 } catch (ClosedChannelException e) { in test_write_$LByteBuffer_SinkClosed() 272 } catch (ClosedChannelException e) { in test_write_$LByteBuffer_SinkClosed() 390 } catch (ClosedChannelException expected) { in test_write_$LByteBufferII_SinkClosed() 410 } catch (ClosedChannelException e) { in test_write_$LByteBufferII_SinkClosed() 454 } catch (ClosedChannelException e) { in test_write_$LByteBufferII_SinkClosed()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | ClosedChannelException.java | 43 public class ClosedChannelException class 52 public ClosedChannelException() { } in ClosedChannelException() method in ClosedChannelException
|
D | SelectableChannel.java | 220 throws ClosedChannelException; in register() 278 throws ClosedChannelException in register()
|
D | AsynchronousCloseException.java | 42 extends ClosedChannelException
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractSelectableChannel.java | 193 throws ClosedChannelException in register() 197 throw new ClosedChannelException(); in register() 211 throw new ClosedChannelException(); in register() 289 throw new ClosedChannelException(); in configureBlocking()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketChannelImpl.java | 43 import java.nio.channels.ClosedChannelException; 190 throw new ClosedChannelException(); in getLocalAddress() 199 throw new ClosedChannelException(); in getRemoteAddress() 215 throw new ClosedChannelException(); in setOption() 248 throw new ClosedChannelException(); in getOption() 295 private boolean ensureReadOpen() throws ClosedChannelException { in ensureReadOpen() 298 throw new ClosedChannelException(); in ensureReadOpen() 308 private void ensureWriteOpen() throws ClosedChannelException { in ensureWriteOpen() 311 throw new ClosedChannelException(); in ensureWriteOpen() 313 throw new ClosedChannelException(); in ensureWriteOpen() [all …]
|
D | ServerSocketChannelImpl.java | 118 throw new ClosedChannelException(); in getLocalAddress() 135 throw new ClosedChannelException(); in setOption() 169 throw new ClosedChannelException(); in getOption() 214 throw new ClosedChannelException(); in bind() 235 throw new ClosedChannelException(); in accept()
|
D | SimpleAsynchronousFileChannelImpl.java | 187 Throwable exc = new ClosedChannelException(); in implLock() 254 throw new ClosedChannelException(); in tryLock() 302 Throwable exc = (isOpen()) ? null : new ClosedChannelException(); in implRead() 356 Throwable exc = (isOpen()) ? null : new ClosedChannelException(); in implWrite()
|
D | FileLockImpl.java | 58 throw new ClosedChannelException(); in release()
|
D | UnixAsynchronousSocketChannelImpl.java | 279 if (x instanceof ClosedChannelException) in finishConnect() 316 Throwable e = new ClosedChannelException(); in implConnect() 369 if (x instanceof ClosedChannelException) in implConnect() 431 if (x instanceof ClosedChannelException) in finishRead() 562 if (x instanceof ClosedChannelException) in implRead() 626 if (x instanceof ClosedChannelException) in finishWrite() 745 if (x instanceof ClosedChannelException) in implWrite()
|
D | AsynchronousSocketChannelImpl.java | 118 throw new ClosedChannelException(); in begin() 233 Throwable e = new ClosedChannelException(); in read() 366 Throwable e = new ClosedChannelException(); in write() 449 throw new ClosedChannelException(); in getLocalAddress() 527 throw new ClosedChannelException(); in getRemoteAddress()
|
D | UnixAsynchronousServerSocketChannelImpl.java | 179 if (x instanceof ClosedChannelException) in onEvent() 276 Throwable e = new ClosedChannelException(); in implAccept() 330 if (x instanceof ClosedChannelException) in implAccept()
|
D | AsynchronousServerSocketChannelImpl.java | 85 throw new ClosedChannelException(); in begin() 175 throw new ClosedChannelException(); in getLocalAddress()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousSocketChannelTest.java | 32 import java.nio.channels.ClosedChannelException; 183 } catch (ClosedChannelException expected) {} in test_close() 187 } catch (ClosedChannelException expected) {} in test_close() 198 assertTrue(expected.getCause() instanceof ClosedChannelException); in test_close() 206 } catch (ClosedChannelException expected) {} in test_close() 214 } catch (ClosedChannelException expected) {} in test_close() 222 } catch (ClosedChannelException expected) {} in test_close() 229 assertTrue(expected.getCause() instanceof ClosedChannelException); in test_close() 237 } catch (ClosedChannelException expected) {} in test_close() 244 } catch (ClosedChannelException expected) {} in test_close() [all …]
|
D | AsynchronousServerSocketChannelTest.java | 33 import java.nio.channels.ClosedChannelException; 253 assertTrue(expected.getCause() instanceof ClosedChannelException); in test_close() 262 } catch(ClosedChannelException expected) {} in test_close() 267 } catch(ClosedChannelException expected) {} in test_close() 272 } catch(ClosedChannelException expected) {} in test_close() 302 assertTrue(expected.getCause() instanceof ClosedChannelException); in test_future_concurrent_close()
|
D | SocketChannelTest.java | 36 import java.nio.channels.ClosedChannelException; 96 } catch (ClosedChannelException expected) { in test_56684() 304 } catch (ClosedChannelException expected) { in test_setOption() 335 } catch (ClosedChannelException expected) { in test_bind() 403 } catch (ClosedChannelException expected) { in test_shutdownOutput() 413 } catch (ClosedChannelException expected) { in test_shutdownOutput()
|
D | OldFileChannelTest.java | 28 import java.nio.channels.ClosedChannelException; 659 } catch (ClosedChannelException e) { in test_writeLByteBuffer_Closed() 667 } catch (ClosedChannelException e) { in test_writeLByteBuffer_Closed() 675 } catch (ClosedChannelException e) { in test_writeLByteBuffer_Closed() 684 } catch (ClosedChannelException e) { in test_writeLByteBuffer_Closed() 691 } catch (ClosedChannelException e) { in test_writeLByteBuffer_Closed() 699 } catch (ClosedChannelException e) { in test_writeLByteBuffer_Closed() 791 } catch (ClosedChannelException e) { in test_write$LByteBuffer_Closed() 799 } catch (ClosedChannelException e) { in test_write$LByteBuffer_Closed() 807 } catch (ClosedChannelException e) { in test_write$LByteBuffer_Closed()
|
D | ServerSocketChannelTest.java | 35 import java.nio.channels.ClosedChannelException; 237 } catch (ClosedChannelException expected) { in bind_socketAddress() 261 } catch (ClosedChannelException expected) { in set_option()
|
D | DatagramChannelTest.java | 34 import java.nio.channels.ClosedChannelException; 184 } catch (ClosedChannelException expected) { in test_setOption() 222 } catch (ClosedChannelException expected) {} in test_bind()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | InterruptedStreamTest.java | 31 import java.nio.channels.ClosedChannelException; 187 } catch (ClosedChannelException expected) { in testInterruptWritableChannel()
|