AS/400 Toolbox for Java \ Access classes \ Exceptions \ List of exceptions

Exceptions thrown by the AS/400 Toolbox for Java access classes

The following table describes when various exceptions are thrown.

Exception Description
AS400Exception Thrown if the AS/400 system returns an error message.
AS400SecurityException Thrown if a security or authority error occurs.
ConnectionDroppedException Thrown if the connection is dropped unexpectedly.
ErrorCompletingRequestException Thrown if an error occurs before the request is completed.
ExtendedIOException Thrown if an error occurs while communicating with the AS/400.
ExtendedIllegalArgumentException Thrown if an argument is not valid.
ExtendedIllegalStateException Thrown if the AS/400 object is not in the proper state to perform the operation.
IllegalObjectTypeException Thrown if the AS/400 object is not of the required type.
IllegalPathNameException Thrown if an integrated file system path name is not valid.
InternalErrorException Thrown if an internal problem occurs. When this type of exception is thrown, contact your service representative to report the problem.
ObjectAlreadyExistsException Thrown if the AS/400 object already exists.
ObjectDoesNotExistException Thrown if the AS/400 object does not exist.
RequestNotSupportedException Thrown if the requested function is not supported because the AS/400 system is not at the correct level.
ReturnCodeException An interface for exceptions that contain a return code. The return code is used to further identify the cause of an error.
ServerStartupException Thrown if the AS/400 server cannot be started.

See Inheritance structure for exceptions for more information about exceptions thrown by the AS/400 Toolbox for Java.


[ Information Center Home Page | Feedback ] [ Legal | AS/400 Glossary ]