Class RemoteRuntimeException

  • All Implemented Interfaces:
    Serializable

    @Deprecated(forRemoval=true)
    public class RemoteRuntimeException
    extends RuntimeException
    Deprecated, for removal: This API element is subject to removal in a future version.
    RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.

    JCR-RMI remote runtime exception. Used by the JCR-RMI client to wrap RMI errors into RuntimeExceptions to avoid breaking the JCR interfaces.

    Note that if a RemoteException is received by call that declares to throw RepositoryExceptions, then the RemoteException is wrapped into a RemoteRepositoryException.

    See Also:
    Serialized Form
    • Constructor Detail

      • RemoteRuntimeException

        public RemoteRuntimeException​(RemoteException ex)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a RemoteRuntimeException based on the given RemoteException.
        Parameters:
        ex - the remote exception