com.ibm.as400.access
Class ObjectDoesNotExistException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.as400.access.ObjectDoesNotExistException
All Implemented Interfaces:
ReturnCodeException, java.io.Serializable

public class ObjectDoesNotExistException
extends java.lang.Exception
implements ReturnCodeException

The ObjectDoesNotExistException class represents an exception that indicates that an AS/400 object does not exists.

See Also:
Serialized Form

Field Summary
static int LIBRARY_DOES_NOT_EXIST
          The return code indicating that the library does not exist.
static int OBJECT_DOES_NOT_EXIST
          The return code indicating that the object does not exist.
 
Method Summary
 int getReturnCode()
          Returns the return code associated with this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LIBRARY_DOES_NOT_EXIST

public static final int LIBRARY_DOES_NOT_EXIST
The return code indicating that the library does not exist.

OBJECT_DOES_NOT_EXIST

public static final int OBJECT_DOES_NOT_EXIST
The return code indicating that the object does not exist.
Method Detail

getReturnCode

public int getReturnCode()
Returns the return code associated with this exception.
Specified by:
getReturnCode in interface ReturnCodeException
Returns:
The return code.