6.3.2 JSMException Class

The JSMException object is used to return a response to the JSM client program.

The JSMException object contains a status object. The message object is stored in the base Exception class.

The Unicode status string value will be encoded into the native encoding of the client program. This status string value is copied into the #JSMSTS field of the LANSA BIF API's.

The status value cannot exceed 20 bytes.

The Unicode message string value will be encoded into the native encoding of the client program. This message string value is copied into the #JSMMSG field of the LANSA BIF API's.

The message value cannot exceed 255 bytes for RDML and RPG clients.

The internal default settings are:

status

ERROR