org.apache.jackrabbit.rmi.client
Class RemoteRepositoryException

java.lang.Object
  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:
Serializable

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

RemoteRepositoryException

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

Parameters:
ex - the remote exception


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.