Open CASCADE Technology  7.4.0
Macros

OSD_OSDError.hxx File Reference

#include <Standard_Type.hxx>
#include <Standard_DefineException.hxx>
#include <Standard_SStream.hxx>
#include <Standard_Failure.hxx>

Macros

#define OSD_OSDError_Raise_if(CONDITION, MESSAGE)   if (CONDITION) throw OSD_OSDError(MESSAGE);
 

Macro Definition Documentation

◆ OSD_OSDError_Raise_if

#define OSD_OSDError_Raise_if (   CONDITION,
  MESSAGE 
)    if (CONDITION) throw OSD_OSDError(MESSAGE);