|
|
|
|
org.eclipse.rse.services.clientserver.messages
Class SystemOperationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.rse.services.clientserver.messages.SystemMessageException
org.eclipse.rse.services.clientserver.messages.SystemRemoteMessageException
org.eclipse.rse.services.clientserver.messages.SystemOperationFailedException
-
All Implemented Interfaces:
-
Serializable
-
public class SystemOperationFailedException
- extends
SystemRemoteMessageException
Generic exception thrown when anything fails and a child exception is
available to provide exception details.
The original remote system's exception message is always embedded and
retrievable via getRemoteException().
-
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
|
SystemOperationFailedException
public SystemOperationFailedException(
Exception remoteException)
- Default Constructor.
Clients are encouraged to use the more specific constructor with pluginId and operationPerformed instead of this one.
-
Parameters:
-
remoteException - the initial cause of this exception
SystemOperationFailedException
public SystemOperationFailedException(
String pluginId,
String msg)
- Constructor with plugin ID and plain text failure information. Clients
are encouraged to use the more specific constructor with pluginId and
remoteException instead of this one.
-
Parameters:
-
msg - message about failed operation
SystemOperationFailedException
public SystemOperationFailedException(
String pluginId,
Exception remoteException)
- Constructor with plugin ID.
Clients are encouraged to use the more specific constructor with pluginId and operationPerformed instead of this one.
-
Parameters:
-
remoteException - the initial cause of this exception
SystemOperationFailedException
public SystemOperationFailedException(
String pluginId,
String userMessage,
Exception remoteException)
- Constructor with plugin ID and user message.
-
Parameters:
-
pluginId - ID of the plugin issuing the message. -
userMessage - user-readable message detailing cause of the
exception, or null . If not specified, a generic
message will be used ("Operation failed with exception"). -
remoteException - the initial cause of this exception. Will be added
to the user message.
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.
|
|
|