org.apache.jackrabbit.rmi.client
Class RemoteRepositoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.jcr.RepositoryException
org.apache.jackrabbit.rmi.client.RemoteRepositoryException
- All Implemented Interfaces:
- java.io.Serializable
public class RemoteRepositoryException
- extends javax.jcr.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
| Fields inherited from class javax.jcr.RepositoryException |
rootCause |
|
Constructor Summary |
RemoteRepositoryException(java.rmi.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 |
RemoteRepositoryException
public RemoteRepositoryException(java.rmi.RemoteException ex)
- Creates a RemoteRepositoryException based on the given RemoteException.
- Parameters:
ex - the remote exception
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.