Home | Previous Page | Next Page   Database Access >

Handling Exceptions and Events

In This Chapter
DataBlade API Event Types
Event-Handling Mechanisms
Invoking a Callback
Registering a Callback
Enabling and Disabling a Callback
Retrieving a Callback Function
Using Default Behavior
Default Behavior in a C UDR (Server)
Default Behavior in Client LIBMI Applications
Callback Functions
Declaring a Callback Function
Return Value of a Callback Function
MI_PROC_CALLBACK Modifier (Windows)
Callback-Function Parameters
Writing a Callback Function
Restrictions on Content
Event Information
Database Server Exceptions
Understanding Database Server Exceptions
Warnings and Errors
Status Variables
Providing Exception Handling
Exceptions in a C UDR (Server)
Exceptions in a Client LIBMI Application (Client)
Returning Error Information to the Caller
Defining a User-Defined Error Structure
Implementing the Callback
Handling Multiple Exceptions
Raising an Exception
Specifying the Connection
Specifying the Message
State-Transition Events
Understanding State-Transition Events
Beginning a Transaction
Ending a Session (Server)
Providing State-Transition Handling
State Transitions in a C UDR (Server)
State Transitions in a Client LIBMI Application
Client LIBMI Errors
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]