com.ibm.as400.access
Class ErrorCompletingRequestException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.as400.access.ErrorCompletingRequestException
All Implemented Interfaces:
ReturnCodeException, java.io.Serializable
Direct Known Subclasses:
AS400Exception

public class ErrorCompletingRequestException
extends java.lang.Exception
implements ReturnCodeException

The ErrorCompletingRequestException class represents an exception that indicates an error occurred that prevented the request from completing.

See Also:
Serialized Form

Field Summary
static int AS400_ERROR
          The return code indicating that an error has occurred on the AS/400.
static int EXIT_POINT_PROCESSING_ERROR
          The return code indicating that an error occurred while processing the exit point.
static int EXIT_PROGRAM_CALL_ERROR
          The return code indicating that an error occurred with the user exit program call.
static int EXIT_PROGRAM_DENIED_REQUEST
          The return code indicating that the user exit program associated with the server job rejected the request.
static int EXIT_PROGRAM_ERROR
          The return code indicating that the user exit program associated with the server job failed.
static int EXIT_PROGRAM_NOT_FOUND
          The return code indicating that the user exit program associated with the server job could not be found.
static int EXIT_PROGRAM_NUMBER_NOT_VALID
          The return code indicating that the number of user exit programs associated with the server job is not valid.
static int EXIT_PROGRAM_RESOLVE_ERROR
          The return code indicating that an error occurred when resolving to the exit program.
static int LENGTH_NOT_VALID
          The return code indicating that the AS/400 resource has a length that is not valid or cannot be handled through this interface.
static int SPOOLED_FILE_NO_MESSAGE_WAITING
          The return code indicating that the spooled file does not have a message waiting.
static int UNKNOWN
          The return code indicating that the exact cause of the failure is not known.
static int WRITER_JOB_ENDED
          The return code indicating that the writer job has ended.
 
Method Summary
 int getReturnCode()
          Returns the return code associated with this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AS400_ERROR

public static final int AS400_ERROR
The return code indicating that an error has occurred on the AS/400.

EXIT_POINT_PROCESSING_ERROR

public static final int EXIT_POINT_PROCESSING_ERROR
The return code indicating that an error occurred while processing the exit point.

EXIT_PROGRAM_CALL_ERROR

public static final int EXIT_PROGRAM_CALL_ERROR
The return code indicating that an error occurred with the user exit program call.

EXIT_PROGRAM_DENIED_REQUEST

public static final int EXIT_PROGRAM_DENIED_REQUEST
The return code indicating that the user exit program associated with the server job rejected the request.

EXIT_PROGRAM_ERROR

public static final int EXIT_PROGRAM_ERROR
The return code indicating that the user exit program associated with the server job failed.

EXIT_PROGRAM_NOT_FOUND

public static final int EXIT_PROGRAM_NOT_FOUND
The return code indicating that the user exit program associated with the server job could not be found.

EXIT_PROGRAM_NUMBER_NOT_VALID

public static final int EXIT_PROGRAM_NUMBER_NOT_VALID
The return code indicating that the number of user exit programs associated with the server job is not valid.

EXIT_PROGRAM_RESOLVE_ERROR

public static final int EXIT_PROGRAM_RESOLVE_ERROR
The return code indicating that an error occurred when resolving to the exit program.

LENGTH_NOT_VALID

public static final int LENGTH_NOT_VALID
The return code indicating that the AS/400 resource has a length that is not valid or cannot be handled through this interface.

UNKNOWN

public static final int UNKNOWN
The return code indicating that the exact cause of the failure is not known. The detailed message may contain additional information.

SPOOLED_FILE_NO_MESSAGE_WAITING

public static final int SPOOLED_FILE_NO_MESSAGE_WAITING
The return code indicating that the spooled file does not have a message waiting.

WRITER_JOB_ENDED

public static final int WRITER_JOB_ENDED
The return code indicating that the writer job has ended.
Method Detail

getReturnCode

public int getReturnCode()
Returns the return code associated with this exception.
Specified by:
getReturnCode in interface ReturnCodeException
Returns:
The return code.