|
org.eclipse.rse.services.clientserver.messages
Class SystemRemoteMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.rse.services.clientserver.messages.SystemMessageException
org.eclipse.rse.services.clientserver.messages.SystemRemoteMessageException
-
All Implemented Interfaces:
-
Serializable
-
Direct Known Subclasses:
-
RemoteFileException,
SystemNetworkIOException,
SystemOperationFailedException,
SystemRemoteSecurityException
-
public class SystemRemoteMessageException
- extends
SystemMessageException
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.
-
Since:
- 3.0
-
See Also:
-
Serialized Form
Methods inherited from class java.lang.
Throwable
|
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
|
SystemRemoteMessageException
public SystemRemoteMessageException(
SystemMessage msg,
Exception remoteException)
- Constructor with an error message for getMessage() to return, and a
wrapped exception to contain. It is accessed via getRemoteException().
-
Parameters:
-
msg - The fully resolved message -
remoteException - The exception to contain within this exception
SystemRemoteMessageException
public SystemRemoteMessageException(
String msg,
Exception remoteException)
- Constructor with a plain text message, and a wrapped exception.
-
Parameters:
-
msg - The fully resolved message -
remoteException - The exception to contain within this exception
getRemoteException
public
Exception getRemoteException()
-
-
Returns:
- the original remote exception
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.
|
|