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

Field Summary
Fields inherited from class javax.jcr.RepositoryException
Constructor Summary
RemoteRepositoryException(RemoteException ex)
          Creates a RemoteRepositoryException based on the given RemoteException.
Method Summary
Methods inherited from class javax.jcr.RepositoryException
getCause, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, 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-2008 The Apache Software Foundation. All Rights Reserved.