org.apache.jackrabbit.rmi.client
Class RemoteRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.jackrabbit.rmi.client.RemoteRuntimeException
All Implemented Interfaces:
Serializable

public class RemoteRuntimeException
extends RuntimeException

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

Note that if a RemoteException is received by call that declares to throw RepositoryExceptions, then the RemoteException is wrapped into a RemoteRepositoryException.

See Also:
Serialized Form

Constructor Summary
RemoteRuntimeException(RemoteException ex)
          Creates a RemoteRuntimeException 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

RemoteRuntimeException

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

Parameters:
ex - the remote exception


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