saker.build Documentation TaskDoc JavaDoc Packages
public interface RMIConnection.IOErrorListener
I/O error listener interface to get notified about connection errors.

This interface is used in relation with RMIConnection to be notified when the connection errors are experienced. This is often due to the network conditions being poor, or the connection breaks up otherwise.

This event listener is not called when object transfer or other semantic errors are detected during RMI calls.

Methods
public void
Notifies the listener about some I/O error in the connection.
public abstract void onIOError(Throwable exc)
Notifies the listener about some I/O error in the connection.

The exception argument is often an instance of IOException, however, it also may be of other types.

The argument may be an instance of RMIListenerException when a callback threw an exception. That is, callback exceptions are also reported via this listener.

The invocation of this callback may not necessarily cause the closing of the RMI connection.

excThe exception that caused the error.