|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.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
public class RemoteFileException
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
Constructor Summary | |
---|---|
RemoteFileException(ResourceBundle bundle,
String key)
Deprecated. this constructor violates the contract that all RemoteFileException instances must have an embedded remote exception for SystemRemoteMessageException.getRemoteException() 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)
Deprecated. this constructor violates the contract that all RemoteFileException instances must have an embedded remote exception for SystemRemoteMessageException.getRemoteException() to return |
|
RemoteFileException(String msg,
Exception remoteException)
Constructor for RemoteFileException with an error message for getMessage() to return. |
|
RemoteFileException(SystemMessage msg)
Deprecated. this constructor violates the contract that all RemoteFileException instances must have an embedded remote exception for SystemRemoteMessageException.getRemoteException() to return |
|
RemoteFileException(SystemMessage msg,
Exception remoteException)
Constructor for RemoteFileException with an error message for getMessage() to return. |
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 |
---|
public RemoteFileException(ResourceBundle bundle, String key)
SystemRemoteMessageException.getRemoteException()
to return
bundle
- The ResourceBundle containing the error messagekey
- The key to retrieve the messagepublic RemoteFileException(String msg)
SystemRemoteMessageException.getRemoteException()
to return
msg
- The fully resolved messagepublic RemoteFileException(ResourceBundle bundle, String key, Exception remoteException)
bundle
- The ResourceBundle containing the error messagekey
- The key to retrieve the messageremoteException
- The exception to contain within this exceptionpublic RemoteFileException(String msg, Exception remoteException)
msg
- The fully resolved messageremoteException
- The exception to contain within this exceptionpublic RemoteFileException(SystemMessage msg)
SystemRemoteMessageException.getRemoteException()
to return
msg
- The fully resolved messagepublic RemoteFileException(SystemMessage msg, Exception remoteException)
msg
- The fully resolved messageremoteException
- The exception to contain within this exception
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |