@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface LDAPListenerExceptionHandler
Modifier and Type | Method and Description |
---|---|
void |
connectionCreationFailure(java.net.Socket socket,
java.lang.Throwable cause)
Indicates that the specified connection is about to be terminated because
an unexpected error occurred during processing.
|
void |
connectionTerminated(LDAPListenerClientConnection connection,
LDAPException cause)
Indicates that the specified connection is about to be terminated because
an unexpected error occurred during processing.
|
void connectionCreationFailure(@Nullable java.net.Socket socket, @NotNull java.lang.Throwable cause)
socket
- The socket to be used for the failed connection. It may be
null
if the failure occurred while attempting to
accept the socket rather than attempting to create the
client connection from an accepted socket.cause
- An exception providing additional information about the
problem that occurred. It will not be null
.void connectionTerminated(@NotNull LDAPListenerClientConnection connection, @NotNull LDAPException cause)
connection
- The connection that will be terminated. It will not be
null
.cause
- An exception providing additional information about the
reason for the termination. It will not be
null
.