Error reporting within a UDX

Within a UDX, use the throwUdxException() method to build in error checking and reporting capabilities. This method signals an error in the UDX and returns control back to the system.

For example:
throwUdxException( const char* msg );
The msg message string is returned to the SQL session. For example:
throwUdxException( "Invalid value" );

The message can be up to 300 characters long. Longer messages are truncated to the first 300 characters.