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 a system object already exists.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int OBJECT_ALREADY_EXISTS
      The return code indicating that the object already exists.
    • Method Summary

      Methods 
      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

      • OBJECT_ALREADY_EXISTS

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