RSE
Release 3.0

org.eclipse.rse.services.clientserver.messages
Class SystemOperationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.rse.services.clientserver.messages.SystemMessageException
              extended by org.eclipse.rse.services.clientserver.messages.SystemRemoteMessageException
                  extended by 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

Constructor Summary
SystemOperationFailedException(Exception remoteException)
          Default Constructor.
SystemOperationFailedException(String pluginId, Exception remoteException)
          Constructor with plugin ID.
SystemOperationFailedException(String pluginId, String msg)
          Constructor with plugin ID and plain text failure information.
SystemOperationFailedException(String pluginId, String operationPerformed, Exception remoteException)
          Constructor with plugin ID and operation being performed.
 
Method Summary
 
Methods inherited from class org.eclipse.rse.services.clientserver.messages.SystemRemoteMessageException
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

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 operationPerformed,
                                      Exception remoteException)
Constructor with plugin ID and operation being performed.

Parameters:
remoteException - the initial cause of this exception

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.