org.objectweb.fractal.rmi
Class RemoteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.objectweb.fractal.rmi.RemoteException
All Implemented Interfaces:
java.io.Serializable

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

Field Detail

exception

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

Constructor Detail

RemoteException

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

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


Copyright © 2008 OW2 Consortium. All Rights Reserved.