Search in sources :

Example 6 with ConnectionPendingException

use of java.nio.channels.ConnectionPendingException in project j2objc by google.

the class ConnectionPendingExceptionTest method test_Constructor.

/**
 * @tests {@link java.nio.channels.ConnectionPendingException#ConnectionPendingException()}
 */
public void test_Constructor() {
    ConnectionPendingException e = new ConnectionPendingException();
    assertNull(e.getMessage());
    assertNull(e.getLocalizedMessage());
    assertNull(e.getCause());
}
Also used : ConnectionPendingException(java.nio.channels.ConnectionPendingException)

Aggregations

ConnectionPendingException (java.nio.channels.ConnectionPendingException)6 NoConnectionPendingException (java.nio.channels.NoConnectionPendingException)3 InetSocketAddress (java.net.InetSocketAddress)2 SctpChannel (com.sun.nio.sctp.SctpChannel)1 SctpServerChannel (com.sun.nio.sctp.SctpServerChannel)1 IOException (java.io.IOException)1 BindException (java.net.BindException)1 ServerSocket (java.net.ServerSocket)1 SocketAddress (java.net.SocketAddress)1 AlreadyBoundException (java.nio.channels.AlreadyBoundException)1 AlreadyConnectedException (java.nio.channels.AlreadyConnectedException)1 ClosedChannelException (java.nio.channels.ClosedChannelException)1 IllegalBlockingModeException (java.nio.channels.IllegalBlockingModeException)1 UnresolvedAddressException (java.nio.channels.UnresolvedAddressException)1 UnsupportedAddressTypeException (java.nio.channels.UnsupportedAddressTypeException)1