com.ibm.as400.access
Class AS400Exception
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.as400.access.ErrorCompletingRequestException
-
- com.ibm.as400.access.AS400Exception
-
- All Implemented Interfaces:
- ReturnCodeException, java.io.Serializable
- Direct Known Subclasses:
- ErrnoException
public class AS400Exception extends ErrorCompletingRequestException
The AS400Exception class represents an exception that indicates that an error has occurred on the system. One or more AS400Message objects are included in this exception.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.ibm.as400.access.ErrorCompletingRequestException
AS400_ERROR, EXIT_POINT_PROCESSING_ERROR, EXIT_PROGRAM_CALL_ERROR, EXIT_PROGRAM_DENIED_REQUEST, EXIT_PROGRAM_ERROR, EXIT_PROGRAM_NOT_FOUND, EXIT_PROGRAM_NUMBER_NOT_VALID, EXIT_PROGRAM_RESOLVE_ERROR, LENGTH_NOT_VALID, SPOOLED_FILE_NO_MESSAGE_WAITING, UNKNOWN, WRITER_JOB_ENDED
-
-
Constructor Summary
Constructors Constructor and Description AS400Exception(AS400Message[] msgList)
Constructs an AS400Exception object.
-
Method Summary
Methods Modifier and Type Method and Description AS400Message
getAS400Message()
Returns the AS400Message causing this exception.AS400Message[]
getAS400MessageList()
Returns the list of AS400Messages causing this exception.-
Methods inherited from class com.ibm.as400.access.ErrorCompletingRequestException
getReturnCode
-
-
-
-
Constructor Detail
-
AS400Exception
public AS400Exception(AS400Message[] msgList)
Constructs an AS400Exception object.- Parameters:
msgList
- The list of AS400Messages causing this exception.
-
-
Method Detail
-
getAS400Message
public AS400Message getAS400Message()
Returns the AS400Message causing this exception.- Returns:
- The AS400Message causing this exception.
-
getAS400MessageList
public AS400Message[] getAS400MessageList()
Returns the list of AS400Messages causing this exception.- Returns:
- The list of AS400Messages causing this exception.
-
-