org.eclipse.rse.subsystems.files.core.subsystems
Class RemoteFileCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileCodeException
-
All Implemented Interfaces:
-
Serializable
-
public class RemoteFileCodeException
- extends
Exception
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.
-
See Also:
-
Serialized Form
Methods inherited from class java.lang.
Throwable
|
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
|
RemoteFileCodeException
public RemoteFileCodeException()
- Constructor for RemoteFileCodeException
RemoteFileCodeException
public RemoteFileCodeException(int code)
- Constructor for RemoteFileCodeException
RemoteFileCodeException
public RemoteFileCodeException(
String codeString)
- Constructor for RemoteFileCodeException
RemoteFileCodeException
public RemoteFileCodeException(int code,
String codeString)
- Constructor for RemoteFileCodeException
setErrorCode
public void setErrorCode(int code)
- Set the error code
-
-
Parameters:
-
the
- error code
getErrorCode
public int getErrorCode()
- Get the error code
-
-
Returns:
- the error code that was set
setErrorCodeString
public void setErrorCodeString(
String codeString)
- Set the error code string
-
getErrorCodeString
public
String getErrorCodeString()
- Get the error code string
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.