All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.ExtendedIllegalArgumentException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----java.lang.IllegalArgumentException
                                   |
                                   +----com.ibm.as400.access.ExtendedIllegalArgumentException

public class ExtendedIllegalArgumentException
extends IllegalArgumentException
implements ReturnCodeException
The ExtendedIllegalArgumentException class represents an exception that indicates that an argument is not valid.


Variable Index

 o FIELD_NOT_FOUND
The return code indicating that the field was not found.
 o LENGTH_NOT_VALID
The return code indicating that the length is not valid.
 o PARAMETER_VALUE_NOT_VALID
The return code indicating that the parameter value is not valid.
 o PATH_NOT_VALID
The return code indicating that the path is not valid.
 o RANGE_NOT_VALID
The return code indicating that the parameter value is out of the allowed range.
 o SIGNON_CHAR_NOT_VALID
The return code indicating that the user ID or password contains a character that is not valid.

Constructor Index

 o ExtendedIllegalArgumentException(String, int)
Constructs an ExtendedIllegalArgumentException object.

Method Index

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

Variables

 o LENGTH_NOT_VALID
 public static final int LENGTH_NOT_VALID
The return code indicating that the length is not valid.

 o PARAMETER_VALUE_NOT_VALID
 public static final int PARAMETER_VALUE_NOT_VALID
The return code indicating that the parameter value is not valid.

 o PATH_NOT_VALID
 public static final int PATH_NOT_VALID
The return code indicating that the path is not valid.

 o RANGE_NOT_VALID
 public static final int RANGE_NOT_VALID
The return code indicating that the parameter value is out of the allowed range.

 o FIELD_NOT_FOUND
 public static final int FIELD_NOT_FOUND
The return code indicating that the field was not found.

 o SIGNON_CHAR_NOT_VALID
 public static final int SIGNON_CHAR_NOT_VALID
The return code indicating that the user ID or password contains a character that is not valid.

Constructors

 o ExtendedIllegalArgumentException
 public ExtendedIllegalArgumentException(String argument,
                                         int returnCode)
Constructs an ExtendedIllegalArgumentException object. It indicates that a method has been passed an illegal argument.

Parameters:
argument - The type and value of the argument that was illegal. It should be in the format: argument (value). For example: library (mylib).
returnCode - The return code which identifies the message to be returned.

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