org.eclipse.net4j.signal
Class RemoteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.net4j.signal.RemoteException
All Implemented Interfaces:
Serializable

public class RemoteException
extends RuntimeException

An exception that wraps an exception that has been thrown during the execution of a remote signal.

Since:
2.0
See Also:
Serialized Form

Constructor Summary
RemoteException(String message, boolean whileResponding)
           
RemoteException(Throwable remoteCause, RequestWithConfirmation<?> localRequest, boolean whileResponding)
           
 
Method Summary
 RequestWithConfirmation<?> getLocalRequest()
           
 StackTraceElement[] getLocalStackTrace()
          Returns the local stack as it stood at the time that the remote exception was detected locally.
 void setLocalStacktrace(StackTraceElement[] stackTrace)
           
 boolean whileResponding()
           
 
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

RemoteException

public RemoteException(Throwable remoteCause,
                       RequestWithConfirmation<?> localRequest,
                       boolean whileResponding)
Since:
4.0

RemoteException

public RemoteException(String message,
                       boolean whileResponding)
Method Detail

whileResponding

public boolean whileResponding()

getLocalRequest

public RequestWithConfirmation<?> getLocalRequest()
Since:
4.0

setLocalStacktrace

public void setLocalStacktrace(StackTraceElement[] stackTrace)
Since:
4.0

getLocalStackTrace

public StackTraceElement[] getLocalStackTrace()
Returns the local stack as it stood at the time that the remote exception was detected locally. Note that no local problem occurred at the point in the code identified by this stacktrace.

Since:
4.0


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.