|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.rse.services.clientserver.messages.SystemMessageException
org.eclipse.rse.services.clientserver.messages.SystemRemoteMessageException
public class SystemRemoteMessageException
Base class for remote system exceptions.
All remote system exceptions are guaranteed to have a translated message retrievable via getMessage(), to make it easy to display to the user.
All child exceptions potentially contain an embedded exception that is the original exception from the remote system.
Use {#link getRemoteException()} to retrieve that wrapped exception, if any.
Constructor Summary | |
---|---|
SystemRemoteMessageException(String msg,
Exception remoteException)
Constructor with a plain text message, and a wrapped exception. |
|
SystemRemoteMessageException(SystemMessage msg,
Exception remoteException)
Constructor with an error message for getMessage() to return, and a wrapped exception to contain. |
Method Summary | |
---|---|
Exception |
getRemoteException()
|
Methods inherited from class org.eclipse.rse.services.clientserver.messages.SystemMessageException |
---|
getSystemMessage, setSystemMessage |
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 |
---|
public SystemRemoteMessageException(SystemMessage msg, Exception remoteException)
msg
- The fully resolved messageremoteException
- The exception to contain within this exceptionpublic SystemRemoteMessageException(String msg, Exception remoteException)
msg
- The fully resolved messageremoteException
- The exception to contain within this exceptionMethod Detail |
---|
public Exception getRemoteException()
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |