Open CASCADE Technology  7.5.0
Macros

Standard_ProgramError.hxx File Reference

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

Macros

#define Standard_ProgramError_Raise_if(CONDITION, MESSAGE)   if (CONDITION) throw Standard_ProgramError(MESSAGE);
 

Macro Definition Documentation

◆ Standard_ProgramError_Raise_if

#define Standard_ProgramError_Raise_if (   CONDITION,
  MESSAGE 
)    if (CONDITION) throw Standard_ProgramError(MESSAGE);