Exception: java.rmi.server.ServerCloneException

A ServerCloneException is thrown if a remote exception occurs during the cloning of a UnicastRemoteObject.

As of release 1.4, this exception has been retrofitted to conform to the general purpose exception-chaining mechanism. The "nested exception" that may be provided at construction time and accessed via the public java.rmi.server.ServerCloneException.detail field is now known as the cause, and may be accessed via the Throwable.getCause() method, as well as the aforementioned "legacy field."

Invoking the method Throwable.initCause(java.lang.Throwable) on an instance of ServerCloneException always throws IllegalStateException.

Authors:
@author Ann Wollrath
See:
@see java.rmi.server.UnicastRemoteObject.clone()
Since:
@since JDK1.1

Inheritance

Superclass tree: Implements:

Methods

Fields

  • detail

    public Exception detail
    The cause of the exception.

    This field predates the general-purpose exception chaining facility. The Throwable.getCause() method is now the preferred means of obtaining this information.

  • serialVersionUID

    static final private long serialVersionUID = 6617456357664815945