Table of Contents
SOMError
This call generates error message and terminates process if fatal error.
Syntax
void (*SOMError) (CORBA_long errorCode, const CORBA_char * fileName, CORBA_long lineNum);
Parameters
- errorCode (CORBA_long) - input : Error code.
- fileName (CORBA_char *) - input : Name of source file where error was occurred.
- lineNum (CORBA_long) - input : Line of source file where error occurred.
Return Code
None
Notes
SOMError is a global variable and can be replaced by user function
Example Code
#include <som.h> SOMError(SOM_Fatal(12), __FILE__, __LINE__);
See also
- SOM_Assert Macro
- SOM_Error Macro
- SOM_Expect Macro
- SOM_Test Macro
- SOM_TestC Macro
- SOM_WarnMsg Macro
- SOM_FatalCode Macro
- SOM_WarnCode Macro
- SOM_IgnoreCode Macro
- SOM_OkCode Macro
- SOM_TemplateCode Macro
- SOM_MsgCode Macro
- SOM_TraceLevel Variable
- SOM_AssertLevel Variable
- SOM_WarnLevel Variable
Group | Functions/Macros |
---|---|
Debugging, Error Handling | SOM_Assert SOM_Error SOM_Expect SOM_Test SOM_TestC SOM_WarnMsg SOM_FatalCode SOM_WarnCode SOM_IgnoreCode SOM_OkCode SOM_TemplateCode SOM_MsgCode * SOM_TraceLevel SOM_AssertLevel SOM_WarnLevel SOMError |