Other Exception Handling

An exception not handled by the service program code will be caught and a response sent back to the client program.

The status field value of these responses is always the string FATAL.

The message field value is useful information explaining the exception, such as the exception message.

Possible status field values:


The OK status is the default for the JSMResponse class.


The ERROR status is the default for the JSMException class.


An exception has occurred.


The JSMResponse and JSMException status field can be set by the service program code.