Class RemoteRepositoryException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jcr.RepositoryException
              extended by org.apache.jackrabbit.rmi.client.RemoteRepositoryException
All Implemented Interfaces:

public class RemoteRepositoryException
extends RepositoryException

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

Note that if a RemoteException is received by call with no declared exceptions, then the RemoteException is wrapped into a RemoteRuntimeException.

See Also:
Serialized Form

Constructor Summary
RemoteRepositoryException(RemoteException ex)
          Creates a RemoteRepositoryException based on the given RemoteException.
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public RemoteRepositoryException(RemoteException ex)
Creates a RemoteRepositoryException based on the given RemoteException.

ex - the remote exception

Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.