org.apache.jackrabbit.rmi.client
Class RemoteRuntimeException

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

Author:
Jukka Zitting
See Also:
Serialized Form

Constructor Summary
RemoteRuntimeException(RemoteException ex)
          Creates a RemoteRuntimeException based on the given RemoteException.
 
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-2006 . All Rights Reserved.