Remote Systems
v6.4.1

com.ibm.etools.systems.subsystems
Class RemoteFileCodeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.etools.systems.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

Field Summary
static String Copyright
           
 
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
 

Field Detail

Copyright

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

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

Method Detail

setErrorCode

public void setErrorCode(int code)
Set 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


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.