Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.subsystems.files.core.subsystems
Class RemoteFileCodeException

java.lang.Object
  extended by 

java.lang.Throwable
      extended by 

java.lang.Exception
          extended by 
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

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

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

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


RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire