Remote Systems
v6.4.1

com.ibm.etools.systems.subsystems
Class RemoteFileException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.etools.systems.core.messages.SystemMessageException
              extended bycom.ibm.etools.systems.subsystems.RemoteFileException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RemoteFileIOException, RemoteFileSecurityException, RemoteFolderNotEmptyException

public class RemoteFileException
extends SystemMessageException

Base class for remote file system exceptions.

All remote file 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 imbedded exception that is the original exception from the remote system.

Use {#link getRemoteException()} to retrieve that wrapped exception, if any.

See Also:
Serialized Form

Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.systems.core.messages.SystemMessageException
Copyright
 
Constructor Summary
RemoteFileException(ResourceBundle bundle, String key)
          Constructor for RemoteFileException with an error message for getMessage() to return.
RemoteFileException(ResourceBundle bundle, String key, Exception remoteException)
          Constructor for RemoteFileException with an error message for getMessage() to return, and a wrapped exception to contain.
RemoteFileException(String msg)
          Constructor for RemoteFileException with an error message for getMessage() to return.
RemoteFileException(String msg, Exception remoteException)
          Constructor for RemoteFileException with an error message for getMessage() to return.
RemoteFileException(SystemMessage msg)
          Constructor for RemoteFileException with an error message for getMessage() to return.
RemoteFileException(SystemMessage msg, Exception remoteException)
          Constructor for RemoteFileException with an error message for getMessage() to return.
 
Method Summary
 Exception getRemoteException()
          Return the wrapped exception
 
Methods inherited from class com.ibm.etools.systems.core.messages.SystemMessageException
getSystemMessage, hasLongID, 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
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

RemoteFileException

public RemoteFileException(ResourceBundle bundle,
                           String key)
Constructor for RemoteFileException with an error message for getMessage() to return.

Parameters:
bundle - The ResourceBundle containing the error message
key - The key to retrieve the message

RemoteFileException

public RemoteFileException(String msg)
Constructor for RemoteFileException with an error message for getMessage() to return.

Parameters:
msg - The fully resolved message

RemoteFileException

public RemoteFileException(ResourceBundle bundle,
                           String key,
                           Exception remoteException)
Constructor for RemoteFileException with an error message for getMessage() to return, and a wrapped exception to contain. It is accessed via getRemoteException().

Parameters:
bundle - The ResourceBundle containing the error message
key - The key to retrieve the message
remoteException - The exception to contain within this exception

RemoteFileException

public RemoteFileException(String msg,
                           Exception remoteException)
Constructor for RemoteFileException 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

RemoteFileException

public RemoteFileException(SystemMessage msg)
Constructor for RemoteFileException with an error message for getMessage() to return.

Parameters:
msg - The fully resolved message

RemoteFileException

public RemoteFileException(SystemMessage msg,
                           Exception remoteException)
Constructor for RemoteFileException 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
Method Detail

getRemoteException

public Exception getRemoteException()
Return the wrapped exception


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.