Package com.sap.conn.jco.server
Interface JCoServerExceptionListener
public interface JCoServerExceptionListener
Listener interface for the exceptions occurred inside of the JCoServer in the JCo runtime.
An application, that want to be informed about all exceptions occurred
inside of the JCoServer, have to pass an instance of this interface to
JCoServer.addServerExceptionListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serverExceptionOccurred
(JCoServer server, String connectionID, JCoServerContextInfo serverCtx, Exception exception) Called when a server exception occurred.
If a listener is added as listener during firing of an event, it won't be notified about the last event.
-
Method Details
-
serverExceptionOccurred
void serverExceptionOccurred(JCoServer server, String connectionID, JCoServerContextInfo serverCtx, Exception exception) Called when a server exception occurred.
If a listener is added as listener during firing of an event, it won't be notified about the last event. If a listener is removed from the list of listeners during firing of an event, it will be notified about the last event.- Parameters:
server
- the server in which the exception was thrownconnectionID
- id of the connection, used in the context where the exception was thrown. Could be null.serverCtx
- server context id where the exception was thrown. Could be null.exception
- the exception that was thrown inside of the JCo runtime
-