6 3 2 2 Other Exception Handling

LANSA Integrator

6.3.2.2 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:

OK

The OK status is the default for the JSMResponse class.

ERROR

The ERROR status is the default for the JSMException class.

FATAL

An exception has occurred.

User-defined

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