Handle errors
Use the JDBC API SQLException class to handle errors in your Java™ program. The HCL Informix®-specific com.informix.jdbc.Message class can also be used outside a Java™ program to retrieve the HCL Informix® error text for a given error number.