Class JdapiStatusException

All Implemented Interfaces:
Serializable

public class JdapiStatusException extends JdapiException
Subclass of JdapiException that incorporates the status code for the error as returned by the forms stack.

The status codes are included as members of JdapiTypes, ending in _STID. Do not program against the numbers themselves
(eg. if(status == 1)... )
but use the members
(eg. if(status == JdapiTypes.FAIL_STID)...).
See Also:
  • Constructor Details

    • JdapiStatusException

      public JdapiStatusException(String message, int statusCode)
      Constructor taking message and status code as an argument.
      Parameters:
      message - Message describing the exception.
      statusCode - the status code associated with the exception.
  • Method Details

    • getStatusCode

      public int getStatusCode()
      Returns the status code of this exception.