Handle errors with the com.informix.jdbc.Message class

HCL OneDB™ provides the class com.informix.jdbc.Message for retrieving HCL OneDB error message text based on the HCL OneDB error number. To use this class, call the Java™ interpreter java directly, passing it the HCL OneDB error number, as shown in the following example:
java com.informix.jdbc.Message 100
The example returns the message text for HCL OneDB error 100:
100: ISAM error: duplicate value for a record with unique key. 

A positive error number is returned if you specify an unsigned number when using the com.informix.jdbc.Message class. This differs from the finderr utility, which returns a negative error number for an unsigned number.