Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

LoggingExceptions.h File Reference

More...

Go to the source code of this file.


Detailed Description

Version:
Revision:
1.8


Define Documentation

#define EXCEPTION_MANDATORY
 

Value:

__FILE__,                                     \
        __LINE__,                                     \
        std::string(CLASS_PREFIX) + __FUNCTION__

#define throw_exception context,
exception   
 

Value:

{ STACK_ADD;                                          \
  {                                                   \
     char *text, *desc;                               \
     int  code;                                       \
     std::string exc;                                      \
                                                      \
     code = edg_wll_Error((context), &text, &desc);   \
     exc = exception;                                 \
     if (text) {                                      \
        exc += ": ";                                  \
        exc += text;                                  \
     }                                                \
     if (desc) {                                      \
        exc += ": ";                                  \
        exc += desc;                                  \
     }                                                \
     free(text);                                      \
     free(desc);                                      \
     throw LoggingException(EXCEPTION_MANDATORY,      \
                            code,                     \
                            exc);                     \
  }                                                   \
}


Generated on Fri May 14 14:19:01 2004 for L&B API CPP by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002