1-54 SOMobjects Base Toolkit: Programmer’s Reference Manual
SOM_Error Macro
Purpose
Reports an error condition.
Syntax
void SOM_Error (long errorCode);
Description
The SOM_Error macro invokes the SOMError error handling procedure with the specified
error code, supplying the filename and line number where the macro was invoked. The
default implementation of SOMError outputs a message containing the error code,
filename, and line number. Additionally, if the last digit of the error code indicates a serious
error (that is, value SOM_Fatal), the process is terminated.
Parameters
errorCode The integer error code for the error to be reported.
Expansion
The SOM_Error macro invokes the SOMError error handler, supplying the filename and
line number where the macro was invoked.
Related Information
Functions: SOMError
Kommentare zu diesen Handbüchern