org.apache.jackrabbit.rmi.client
Class RemoteRepositoryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.jcr.RepositoryException
              extended byorg.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.

Author:
Jukka Zitting
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.jcr.RepositoryException
rootCause
 
Constructor Summary
RemoteRepositoryException(RemoteException ex)
          Creates a RemoteRepositoryException based on the given RemoteException.
 
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

RemoteRepositoryException

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

Parameters:
ex - the remote exception


Copyright © 2004-2006 . All Rights Reserved.