Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.comm
Class ISeriesAPIErrorCodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.etools.iseries.comm.ISeriesAPIErrorCodeException
All Implemented Interfaces:
Serializable

public class ISeriesAPIErrorCodeException
extends Exception

This exception is thrown when an OS/400 API call returns an error in the standard API error code parameter. See the error format ERRC0100 for the OS/400 apis for more information.

See Also:
Serialized Form

Field Summary
static String Copyright
           
 
Constructor Summary
ISeriesAPIErrorCodeException(String message)
          Constructor for ISeriesAPIErrorCodeException.
ISeriesAPIErrorCodeException(String id, String data)
           
 
Method Summary
 String getData()
          Return the exception data as defined in format ERRC0100
 String getID()
          Return the exception ID as defined in format ERRC0100
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ISeriesAPIErrorCodeException

public ISeriesAPIErrorCodeException(String message)
Constructor for ISeriesAPIErrorCodeException.


ISeriesAPIErrorCodeException

public ISeriesAPIErrorCodeException(String id,
                                    String data)
Method Detail

getID

public String getID()
Return the exception ID as defined in format ERRC0100


getData

public String getData()
Return the exception data as defined in format ERRC0100


getMessage

public String getMessage()
Overrides:
getMessage in class Throwable
See Also:
Throwable.getMessage()

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 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.