RSE
Release 3.4

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

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.SystemElementNotFoundException
All Implemented Interfaces:
Serializable

public class SystemElementNotFoundException
extends SystemMessageException

Exception thrown when an operation was requested on a given remote element, but that element did not exist. Like trying to delete a file that does not exist. The framework may treat such an exception differently than other kinds of exceptions.

Since:
3.0
See Also:
Serialized Form

Constructor Summary
SystemElementNotFoundException(String element, String operation)
          Constructor.
SystemElementNotFoundException(String pluginId, String element, String operation)
          Constructor.
SystemElementNotFoundException(SystemMessage msg)
          Constructor for subclasses to use custom messages.
 
Method Summary
 
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

SystemElementNotFoundException

public SystemElementNotFoundException(SystemMessage msg)
Constructor for subclasses to use custom messages.

Parameters:
msg - A SystemMessage.

SystemElementNotFoundException

public SystemElementNotFoundException(String element,
                                      String operation)
Constructor.

Parameters:
element - an Absolute Path for the element that could not be found.
operation - Operation about to be performed that failed

SystemElementNotFoundException

public SystemElementNotFoundException(String pluginId,
                                      String element,
                                      String operation)
Constructor.

Parameters:
pluginId - ID of plugin in which the failure occurred
element - an Absolute Path for the element that could not be found.
operation - Operation about to be performed that failed

RSE
Release 3.4

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