com.ibm.as400.access
Class ObjectAlreadyExistsException

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

public class ObjectAlreadyExistsException
extends java.lang.Exception
implements ReturnCodeException

The ObjectAlreadyExistsException class represents an exception that indicates that an AS/400 object already exists.

See Also:
Serialized Form

Field Summary
static int OBJECT_ALREADY_EXISTS
          The return code indicating that the object already exists.
 
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

OBJECT_ALREADY_EXISTS

public static final int OBJECT_ALREADY_EXISTS
The return code indicating that the object already exists.
Method Detail

getReturnCode

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