com.ibm.as400.access
Class ErrorCompletingRequestException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.as400.access.ErrorCompletingRequestException
All Implemented Interfaces:
ReturnCodeException, Serializable
Direct Known Subclasses:
AS400Exception

public class ErrorCompletingRequestException
extends 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 server.
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 server 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, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, 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 server.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

LENGTH_NOT_VALID

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

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

WRITER_JOB_ENDED

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

See Also:
Constant Field Values
Method Detail

getReturnCode

public int getReturnCode()
Returns the return code associated with this exception.

Specified by:
getReturnCode in interface ReturnCodeException
Returns:
The return code.