TOC PREV NEXT INDEX


Error Formatting and Print Functions


Error formatting and print functions allow information about encode/decode errors to be added to a context block structure and then printed when the error is propagated to the top level.
The LOG_RTERR macro is inserted in the generated code by the compiler to record the position of an error in the code and store information on the error in the context structure.
The OSRTASSERT macro can be used to test an assertion in much the same as the standard C assert call. If the assertion is false, the macro will cause the program to exit and a printout showing the file and line number of failure along with the failed condition will be shown.
Other key error handling routines for printing error information are as follows:
For a complete list and full description of all of the error formatting and print functions, see the XBinder C/C++ Runtime Reference Manual.

Copyright © Objective Systems 2002-2008
This document may be distributed in any form, electronic or otherwise, provided that it is distributed in its entirety and that the copyright and this notice are included.

Objective Systems, Inc.

55 Dowlin Forge Road
Exton, Pennsylvania 19341
http://www.obj-sys.com
Phone: (484) 875-9841
Toll-free: (877) 307-6855 (US only)
Fax: (484) 875-9830
info@obj-sys.com

TOC PREV NEXT INDEX