public interface RMIFailureHandler
RMIFailureHandlercan be registered via the
failuremethod of the handler is invoked when the RMI runtime is unable to create a
ServerSocketto listen for incoming calls. The
failuremethod returns a boolean indicating whether the runtime should attempt to re-create the
boolean failure(Exception ex)
failurecallback is invoked when the RMI runtime is unable to create a
RMIFailureHandleris registered via a call to
RMISocketFacotry.setFailureHandler. If no failure handler is installed, the default behavior is to attempt to re-create the ServerSocket.
ex- the exception that occurred during
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.