Class RemoteRuntimeException

  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:

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


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

ex - the remote exception

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