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

See Also:
JCoServer.addServerExceptionListener(JCoServerExceptionListener)

Method Summary
 void serverExceptionOccurred(JCoServer server, java.lang.String connectionID, JCoServerContextInfo serverCtx, java.lang.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 Detail

serverExceptionOccurred

void serverExceptionOccurred(JCoServer server,
                             java.lang.String connectionID,
                             JCoServerContextInfo serverCtx,
                             java.lang.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 thrown
connectionID - 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


Copyright © 2008-2014 SAP AG. All Rights Reserved.