org.objectweb.fractal.rmi
Class RemoteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
exception
public final Exception exception
- The exception that caused the remote method invocation failure.
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.