Package 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serverErrorOccurred
(JCoServer server, String connectionID, JCoServerContextInfo serverCtx, 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 Details
-
serverErrorOccurred
void serverErrorOccurred(JCoServer server, String connectionID, JCoServerContextInfo serverCtx, 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 thrownconnectionID
- 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
-