Open CASCADE Technology  7.3.0
Macros

OSD_Exception.hxx File Reference

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

Macros

#define OSD_Exception_Raise_if(CONDITION, MESSAGE)   if (CONDITION) throw OSD_Exception(MESSAGE);
 

Macro Definition Documentation

◆ OSD_Exception_Raise_if

#define OSD_Exception_Raise_if (   CONDITION,
  MESSAGE 
)    if (CONDITION) throw OSD_Exception(MESSAGE);