com.ibm.as400.access
Class ObjectDoesNotExistException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.as400.access.ObjectDoesNotExistException
All Implemented Interfaces:
ReturnCodeException, Serializable

public class ObjectDoesNotExistException
extends Exception
implements ReturnCodeException

The ObjectDoesNotExistException class represents an exception that indicates that a system object does not exist.

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
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
Modifier and Type Method and Description
 int getReturnCode()
          Returns the return code associated with this exception.
 
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

LIBRARY_DOES_NOT_EXIST

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

See Also:
Constant Field Values

OBJECT_DOES_NOT_EXIST

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

See Also:
Constant Field Values
Method Detail

getReturnCode

public int getReturnCode()
Returns the return code associated with this exception.

Specified by:
getReturnCode in interface ReturnCodeException
Returns:
The return code.