Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions  Download package

SAPDBErr_Assertions.hpp File Reference


Detailed Description

Assertions are used to check for programming errors.

Author:
DanielD
   
   |Assert option              STATE       ARGUMENT    RANGE
   |-------------------------------------------------------------
   |Profile                 |
   |------------------------|
   |ASSERTION_FAST_CODE     |  OFF         OFF         OFF
   |ASSERTION_QUICK_CODE    |  OFF         OFF         EXCEPTION
   |ASSERTION_EXCEPTION_CODE|  EXCEPTION   EXCEPTION   EXCEPTION
   |ASSERTION_DEBUG_CODE    |  DEBUG       DEBUG       DEBUG
   |ASSERTION_CRASH_CODE    |  CRASH       CRASH       CRASH
   
  
Other profile options can be inserted and have to be described above.

Definition in file SAPDBErr_Assertions.hpp.

#include "SAPDBCommon/SAPDB_ToString.hpp"
#include "SAPDBCommon/ErrorsAndMessages/SAPDBErr_MessageList.hpp"
#include "RunTime/RTE_CallDebugger.h"
#include "RunTime/RTE_Crash.hpp"
#include "SAPDBCommon/ErrorsAndMessages/SAPDBErr_Messages.hpp"

Go to the source code of this file.

Defines

#define SAPDBERR_CRASH   3
#define SAPDBERR_DEBUG   1
#define SAPDBERR_EXCEPTION   2
#define SAPDBERR_OFF   0

Functions

 SAPDBERR_DEFINE_COMPONENT_EXCEPTION_CLASS (SAPDBErr)
 defines an exception class for the component SAPDBErr


Generated by  Doxygen 1.6.0   Back to index