org.eclipse.rse.services.files
Class RemoteFileException
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.files.RemoteFileException
-
All Implemented Interfaces:
-
Serializable
-
Direct Known Subclasses:
-
RemoteFileIOException,
RemoteFileSecurityException,
RemoteFolderNotEmptyException
-
public class RemoteFileException
- extends
SystemRemoteMessageException
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 embedded exception that is the
original exception from the remote system.
Use {#link getRemoteException()} to retrieve that wrapped exception, if any.
Extends SystemRemoteMessageException since 3.0
-
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
|
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
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.