DataBlade API Programmer's Manual
Chapter 9: Event and Exception Handling
Home
Contents
Index
Master Index
New Book
Server Exceptions
A server exception,
MI
_Exception, is an unexpected event, either a warning or an error. Every exception triggers a callback unless the default callback has been overridden
and
no enabled callback is registered for the exception.
A server exception is classified as one of the following message types:
MI_MESSAGE
: An exception of this type does not halt processing. This exception is used for warnings and informational messages.
MI_EXCEPTION
: An unhandled exception of this type aborts the current statement.
When an
MI_EXCEPTION
event occurs, use
mi_error_level()
,
mi_error_sql_state()
, and
mi_errmsg()
to get more details about the exception.
DataBlade API Programmer's Manual
, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.