|
RSE Release 3.3 |
|||||||||
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.subsystems.files.core.subsystems.RemoteFileCodeException
public class RemoteFileCodeException
This exception class should be used to return exception codes to clients. Codes can be either integers or strings, or both may be used at the same time for better subclassing of similar errors that occur due to slightly different reasons.
Constructor Summary | |
---|---|
RemoteFileCodeException()
Constructor for RemoteFileCodeException |
|
RemoteFileCodeException(int code)
Constructor for RemoteFileCodeException |
|
RemoteFileCodeException(int code,
String codeString)
Constructor for RemoteFileCodeException |
|
RemoteFileCodeException(String codeString)
Constructor for RemoteFileCodeException |
Method Summary | |
---|---|
int |
getErrorCode()
Get the error code |
String |
getErrorCodeString()
Get the error code string |
void |
setErrorCode(int code)
Set the error code |
void |
setErrorCodeString(String codeString)
Set the error code string |
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 RemoteFileCodeException()
public RemoteFileCodeException(int code)
public RemoteFileCodeException(String codeString)
public RemoteFileCodeException(int code, String codeString)
Method Detail |
---|
public void setErrorCode(int code)
the
- error codepublic int getErrorCode()
public void setErrorCodeString(String codeString)
public String getErrorCodeString()
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |