The following table describes when various exceptions are thrown.
Exception | Description |
---|---|
AS400Exception | Thrown when the AS/400 system returns an error message. |
AS400SecurityException | Thrown when a security or authority error occurs. |
ConnectionDroppedException | Thrown when the connection is dropped unexpectedly. |
![]() |
Thrown when a problem occurrs with the connection pool.![]() |
ErrorCompletingRequestException | Thrown when an error occurs before the request is completed. |
ExtendedIOException | Thrown when an error occurs while communicating with the AS/400. |
ExtendedIllegalArgumentException | Thrown when an argument is not valid. |
ExtendedIllegalStateException | Thrown when the AS/400 object is not in the proper state to perform the operation. |
IllegalObjectTypeException | Thrown when the AS/400 object is not of the required type. |
IllegalPathNameException | Thrown when an integrated file system path name is not valid. |
InternalErrorException | Thrown when an internal problem occurs. When this type of exception is thrown, contact your service representative to report the problem. |
![]() |
Thrown when an error condition occurs while trying to retrieve a license.![]() |
ObjectAlreadyExistsException | Thrown when the AS/400 object already exists. |
ObjectDoesNotExistException | Thrown when the AS/400 object does not exist. |
![]() |
Thrown when an error occurrs while communicating with the proxy server.![]() |
RequestNotSupportedException | Thrown when 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 when 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.