com.sap.conn.jco.server
Interface JCoServerErrorListener


public interface JCoServerErrorListener

Listener interface for the errors occurred inside of the JCoServer. An application, that want to be informed about all errors occurred inside of the JCoServer, have to pass an instance of this interface to JCoServer.addServerErrorListener

See Also:
JCoServer.addServerErrorListener(JCoServerErrorListener)

Method Summary
 void serverErrorOccurred(JCoServer server, java.lang.String connectionID, JCoServerContextInfo serverCtx, java.lang.Error error)
          Called when a server error occurred.
If a listener is added as listener during firing of an event, it won't be notified about the last event.
 

Method Detail

serverErrorOccurred

void serverErrorOccurred(JCoServer server,
                         java.lang.String connectionID,
                         JCoServerContextInfo serverCtx,
                         java.lang.Error error)
Called when a server error 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 error was thrown
connectionID - id of the connection, used in the context where the error was thrown. Could be null.
serverCtx - server context id where the error was thrown. Could be null.
error - the error that was thrown inside of the JCo runtime


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