Uses of Interface java.rmi.server.RMIFailureHandler (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
java.rmi.server.RMIFailureHandler

- Packages that use RMIFailureHandler
  Package | Description
  --- | ---
  java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.

- - ### Uses of RMIFailureHandler in java.rmi.server

    Methods in java.rmi.server that return RMIFailureHandler
    Modifier and Type | Method and Description
    --- | ---
    `static RMIFailureHandler` | RMISocketFactory.`getFailureHandler()` Returns the handler for socket creation failure set by the `setFailureHandler` method.

    Methods in java.rmi.server with parameters of type RMIFailureHandler
    Modifier and Type | Method and Description
    --- | ---
    `static void` | RMISocketFactory.`setFailureHandler(RMIFailureHandler fh)` Sets the failure handler to be called by the RMI runtime if server socket creation fails.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.