HomeSort by relevance Sort by last modified time
    Searched refs:ClosedChannelException (Results 1 - 25 of 37) sorted by null

1 2

  /libcore/luni/src/main/java/java/nio/channels/
ClosedChannelException.java 22 * A {@code ClosedChannelException} is thrown when a channel is closed for the
25 public class ClosedChannelException extends IOException {
30 * Constructs a {@code ClosedChannelException}.
32 public ClosedChannelException() {
AsynchronousCloseException.java 23 public class AsynchronousCloseException extends ClosedChannelException {
SelectableChannel.java 63 * @throws ClosedChannelException
129 * @throws ClosedChannelException
142 throws ClosedChannelException {
167 * @throws ClosedChannelException
180 throws ClosedChannelException;
Channels.java 299 throw new ClosedChannelException();
338 throw new ClosedChannelException();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
ClosedChannelExceptionTest.java 18 import java.nio.channels.ClosedChannelException;
25 * Tests for ClosedChannelException
30 * @tests {@link java.nio.channels.ClosedChannelException#ClosedChannelException()}
33 ClosedChannelException e = new ClosedChannelException();
44 SerializationTest.verifySelf(new ClosedChannelException());
52 SerializationTest.verifyGolden(this, new ClosedChannelException());
SelectableChannelTest.java 20 import java.nio.channels.ClosedChannelException;
74 throws ClosedChannelException {
FileChannelTest.java 32 import java.nio.channels.ClosedChannelException;
252 } catch (ClosedChannelException expected) {
258 } catch (ClosedChannelException expected) {
362 fail("should throw ClosedChannelException");
363 } catch (ClosedChannelException expected) {
369 fail("should throw ClosedChannelException");
370 } catch (ClosedChannelException expected) {
376 fail("should throw ClosedChannelException");
377 } catch (ClosedChannelException expected) {
391 } catch (ClosedChannelException expected)
    [all...]
SourceChannelTest.java 21 import java.nio.channels.ClosedChannelException;
112 fail("should throw ClosedChannelException");
113 } catch (ClosedChannelException e) {
120 fail("should throw ClosedChannelException");
121 } catch (ClosedChannelException e) {
144 fail("should throw ClosedChannelException");
145 } catch (ClosedChannelException e) {
261 fail("should throw ClosedChannelException");
262 } catch (ClosedChannelException e) {
269 fail("should throw ClosedChannelException");
    [all...]
FileLockTest.java 23 import java.nio.channels.ClosedChannelException;
181 fail("should throw ClosedChannelException");
182 } catch (ClosedChannelException e) {
194 fail("should throw ClosedChannelException");
195 } catch (ClosedChannelException e) {
SinkChannelTest.java 23 import java.nio.channels.ClosedChannelException;
173 fail("should throw ClosedChannelException");
174 } catch (ClosedChannelException expected) {
253 fail("should throw ClosedChannelException");
254 } catch (ClosedChannelException e) {
271 fail("should throw ClosedChannelException");
272 } catch (ClosedChannelException e) {
390 } catch (ClosedChannelException expected) {
409 fail("should throw ClosedChannelException");
410 } catch (ClosedChannelException e)
    [all...]
ChannelsTest.java 31 import java.nio.channels.ClosedChannelException;
256 } catch (ClosedChannelException e) {
265 } catch (ClosedChannelException e) {
309 } catch (ClosedChannelException e) {
356 } catch (ClosedChannelException e) {
SocketChannelTest.java 34 import java.nio.channels.ClosedChannelException;
645 fail("Should throw a ClosedChannelException here.");
646 } catch (ClosedChannelException e) {
768 fail("Should throw a ClosedChannelException here.");
769 } catch (ClosedChannelException e) {
859 fail("Should throw a ClosedChannelException here.");
860 } catch (ClosedChannelException e) {
866 fail("Should throw a ClosedChannelException here.");
867 } catch (ClosedChannelException e) {
    [all...]
ServerSocketChannelTest.java 28 import java.nio.channels.ClosedChannelException;
237 fail("Should throw ClosedChannelException");
238 } catch (ClosedChannelException e) {
617 fail("Should throw a ClosedChannelException");
618 } catch (ClosedChannelException e) {
634 fail("Should throw a ClosedChannelException");
635 } catch (ClosedChannelException e) {
SelectorTest.java 23 import java.nio.channels.ClosedChannelException;
477 throws IOException, ClosedChannelException {
511 throws IOException, ClosedChannelException {
  /libcore/luni/src/main/java/java/nio/channels/spi/
AbstractSelectableChannel.java 22 import java.nio.channels.ClosedChannelException;
116 * @throws ClosedChannelException
128 Object attachment) throws ClosedChannelException {
130 throw new ClosedChannelException();
226 * @throws ClosedChannelException
237 throw new ClosedChannelException();
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
Socket.java 25 import java.nio.channels.ClosedChannelException;
102 throw new ClosedChannelException();
119 throw new ClosedChannelException();
156 throw new ClosedChannelException();
  /libcore/luni/src/test/java/libcore/java/nio/channels/
SocketChannelTest.java 24 import java.nio.channels.ClosedChannelException;
81 } catch (ClosedChannelException expected) {
OldFileChannelTest.java 28 import java.nio.channels.ClosedChannelException;
658 fail("should throw ClosedChannelException");
659 } catch (ClosedChannelException e) {
666 fail("should throw ClosedChannelException");
667 } catch (ClosedChannelException e) {
674 fail("should throw ClosedChannelException");
675 } catch (ClosedChannelException e) {
679 // should throw ClosedChannelException first
682 fail("should throw ClosedChannelException");
684 } catch (ClosedChannelException e)
    [all...]
  /libcore/luni/src/main/java/java/nio/
FileChannelImpl.java 23 import java.nio.channels.ClosedChannelException;
70 private void checkOpen() throws ClosedChannelException {
72 throw new ClosedChannelException();
150 throw new ClosedChannelException();
364 throw new ClosedChannelException();
404 throw new ClosedChannelException();
ServerSocketChannelImpl.java 28 import java.nio.channels.ClosedChannelException;
62 throw new ClosedChannelException();
SocketChannelImpl.java 35 import java.nio.channels.ClosedChannelException;
244 throw new ClosedChannelException();
407 synchronized private void checkOpenConnected() throws ClosedChannelException {
409 throw new ClosedChannelException();
421 throw new ClosedChannelException();
  /libcore/luni/src/test/java/libcore/java/io/
InterruptedStreamTest.java 31 import java.nio.channels.ClosedChannelException;
187 } catch (ClosedChannelException expected) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
AbstractSelectableChannelTest.java 20 import java.nio.channels.ClosedChannelException;
224 fail("Should throw ClosedChannelException");
225 } catch (ClosedChannelException e) {
  /libcore/luni/src/test/java/libcore/java/net/
ConcurrentCloseTest.java 28 import java.nio.channels.ClosedChannelException;
98 } catch (ClosedChannelException alsoOkay) {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FileOutputStreamTest.java 292 fail("should throw ClosedChannelException");
293 } catch (java.nio.channels.ClosedChannelException e){
313 fail("should throw ClosedChannelException");
314 } catch (java.nio.channels.ClosedChannelException e){

Completed in 351 milliseconds

1 2