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, 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
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 |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AS400Exception
public AS400Exception(AS400Message[] msgList)
- Constructs an AS400Exception object.
- Parameters:
msgList
- The list of AS400Messages
causing this exception.
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.