org.objectweb.fractal.rmi
Class RemoteException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.objectweb.fractal.rmi.RemoteException
All Implemented Interfaces:
Serializable

public class RemoteException
extends RuntimeException

Thrown when a remote method invocation fails for a "non functional" reason. This exception is a runtime exception, so that users do not need to declare it in every method of every Fractal interface that can be accessed remotely (such as the interfaces of the Fractal API).

See Also:
Serialized Form

Field Summary
 Exception exception
          The exception that caused the remote method invocation failure.
 
Constructor Summary
RemoteException(String msg, Exception exception)
          Constructs a new 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
 

Field Detail

exception

public final Exception exception
The exception that caused the remote method invocation failure.

Constructor Detail

RemoteException

public RemoteException(String msg,
                       Exception exception)
Constructs a new RemoteException.

Parameters:
msg - a detail message.
exception - the exception that caused the method invocation failure.