Searched refs:IllegalBlockingModeException (Results 1 - 17 of 17) sorted by relevance

/libcore/luni/src/main/java/java/nio/channels/
H A DIllegalBlockingModeException.java20 * An {@code IllegalBlockingModeException} is thrown when an operation that
24 public class IllegalBlockingModeException extends IllegalStateException { class in inherits:IllegalStateException
29 * Constructs a {@code IllegalBlockingModeException}.
31 public IllegalBlockingModeException() { method in class:IllegalBlockingModeException
H A DChannels.java48 * <li>It throws an {@link IllegalBlockingModeException} if the channel is
69 * <li>It throws an {@link IllegalBlockingModeException} if the channel is
279 throw new IllegalBlockingModeException();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DIllegalBlockingModeExceptionTest.java18 import java.nio.channels.IllegalBlockingModeException;
25 * Tests for IllegalBlockingModeException
30 * @tests {@link java.nio.channels.IllegalBlockingModeException#IllegalBlockingModeException()}
33 IllegalBlockingModeException e = new IllegalBlockingModeException();
44 SerializationTest.verifySelf(new IllegalBlockingModeException());
53 .verifyGolden(this, new IllegalBlockingModeException());
H A DServerSocketChannelTest.java29 import java.nio.channels.IllegalBlockingModeException;
703 fail("Should throw an IllegalBlockingModeException");
704 } catch (IllegalBlockingModeException expected) {
709 fail("Should throw an IllegalBlockingModeException");
710 } catch (IllegalBlockingModeException expected) {
723 fail("Should throw an IllegalBlockingModeException");
724 } catch (IllegalBlockingModeException expected) {
729 fail("Should throw an IllegalBlockingModeException");
730 } catch (IllegalBlockingModeException expected) {
744 fail("Should throw an IllegalBlockingModeException");
[all...]
H A DSocketChannelTest.java36 import java.nio.channels.IllegalBlockingModeException;
610 fail("Should throw IllegalBlockingModeException");
611 } catch (IllegalBlockingModeException e1) {
679 fail("Should throw IllegalBlockingModeException");
680 } catch (IllegalBlockingModeException e) {
3110 fail("Non-Blocking mode should cause IllegalBlockingModeException");
3111 } catch (IllegalBlockingModeException e) {
3265 } catch (IllegalBlockingModeException expected) {
3273 } catch (IllegalBlockingModeException expected) {
3282 } catch (IllegalBlockingModeException expecte
[all...]
H A DChannelsTest.java31 import java.nio.channels.IllegalBlockingModeException;
604 fail("should throw IllegalBlockingModeException");
605 } catch (IllegalBlockingModeException expected) {
610 fail("should throw IllegalBlockingModeException");
611 } catch (IllegalBlockingModeException expected) {
H A DDatagramChannelTest.java31 import java.nio.channels.IllegalBlockingModeException;
2368 fail("should throw IllegalBlockingModeException");
2369 } catch (IllegalBlockingModeException e) {
2374 fail("should throw IllegalBlockingModeException");
2375 } catch (IllegalBlockingModeException e) {
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DChannelsTest.java22 import java.nio.channels.IllegalBlockingModeException;
34 } catch (IllegalBlockingModeException expected) {
47 } catch (IllegalBlockingModeException expected) {
/libcore/luni/src/main/java/java/nio/
H A DServerSocketChannelImpl.java29 import java.nio.channels.IllegalBlockingModeException;
126 throw new IllegalBlockingModeException();
130 throw new IllegalBlockingModeException();
H A DSocketChannelImpl.java39 import java.nio.channels.IllegalBlockingModeException;
532 throw new IllegalBlockingModeException();
587 * Throws an IllegalBlockingModeException if the channel is in non-blocking
626 throw new IllegalBlockingModeException();
632 * Throws an IllegalBlockingModeException if the channel is in non-blocking
671 throw new IllegalBlockingModeException();
H A DDatagramChannelImpl.java38 import java.nio.channels.IllegalBlockingModeException;
593 throw new IllegalBlockingModeException();
608 throw new IllegalBlockingModeException();
/libcore/luni/src/main/java/java/nio/channels/spi/
H A DAbstractSelectableChannel.java23 import java.nio.channels.IllegalBlockingModeException;
120 * @throws IllegalBlockingModeException
138 throw new IllegalBlockingModeException();
228 * @throws IllegalBlockingModeException
244 throw new IllegalBlockingModeException();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
H A DAbstractSelectorTest.java20 import java.nio.channels.IllegalBlockingModeException;
148 fail("should throw IllegalBlockingModeException");
149 } catch (IllegalBlockingModeException e) {
H A DAbstractSelectableChannelTest.java21 import java.nio.channels.IllegalBlockingModeException;
190 fail("Should throw IllegalBlockingModeException");
191 } catch (IllegalBlockingModeException e) {
204 fail("Should throw IllegalBlockingModeException");
205 } catch (IllegalBlockingModeException e) {
267 fail("Should throw IllegalBlockingModeException");
268 } catch (IllegalBlockingModeException e) {
/libcore/luni/src/test/java/libcore/java/net/
H A DOldServerSocketTest.java32 import java.nio.channels.IllegalBlockingModeException;
229 fail("IllegalBlockingModeException was not thrown.");
230 } catch(IllegalBlockingModeException ibme) {
H A DOldSocketTest.java37 import java.nio.channels.IllegalBlockingModeException;
1102 fail("IllegalBlockingModeException was not thrown.");
1103 } catch (IllegalBlockingModeException expected) {
1395 fail("IllegalBlockingModeException was not thrown.");
1396 } catch (IllegalBlockingModeException expected) {
2098 fail("IllegalBlockingModeException was not thrown.");
2099 } catch(IllegalBlockingModeException ibme) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DScannerTest.java44 import java.nio.channels.IllegalBlockingModeException;
350 } catch (IllegalBlockingModeException expected) {

Completed in 976 milliseconds