All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.IllegalObjectTypeException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----com.ibm.as400.access.IllegalObjectTypeException

public class IllegalObjectTypeException
extends Exception
implements ReturnCodeException
The IllegalObjectTypeException class represents an exception that indicates that the AS/400 object is not the required type.


Variable Index

 o DATA_AREA_CHARACTER
The return code indicating that an attempt was made to use a character data area with a non-character data area object.
 o DATA_AREA_DECIMAL
The return code indicating that an attempt was made to use a decimal data area with a non-decimal data area object.
 o DATA_AREA_LOGICAL
The return code indicating that an attempt was made to use a logical data area with a non-logical data area object.
 o DATA_QUEUE_KEYED
The return code indicating that an attempt was made to use a keyed queue with a non-keyed data queue object.
 o DATA_QUEUE_NOT_KEYED
The return code indicating that an attempt was made to use a non-keyed data queue with a keyed data queue object.

Method Index

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

Variables

 o DATA_QUEUE_KEYED
 public static final int DATA_QUEUE_KEYED
The return code indicating that an attempt was made to use a keyed queue with a non-keyed data queue object.

 o DATA_QUEUE_NOT_KEYED
 public static final int DATA_QUEUE_NOT_KEYED
The return code indicating that an attempt was made to use a non-keyed data queue with a keyed data queue object.

 o DATA_AREA_CHARACTER
 public static final int DATA_AREA_CHARACTER
The return code indicating that an attempt was made to use a character data area with a non-character data area object.

 o DATA_AREA_DECIMAL
 public static final int DATA_AREA_DECIMAL
The return code indicating that an attempt was made to use a decimal data area with a non-decimal data area object.

 o DATA_AREA_LOGICAL
 public static final int DATA_AREA_LOGICAL
The return code indicating that an attempt was made to use a logical data area with a non-logical data area object.

Methods

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

Returns:
The return code.

All Packages  Class Hierarchy  This Package  Previous  Next  Index