Open CASCADE Technology  7.2.0
Macros

Aspect_BadAccess.hxx File Reference

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

Macros

#define Aspect_BadAccess_Raise_if(CONDITION, MESSAGE)   if (CONDITION) throw Aspect_BadAccess(MESSAGE);
 

Macro Definition Documentation

◆ Aspect_BadAccess_Raise_if

#define Aspect_BadAccess_Raise_if (   CONDITION,
  MESSAGE 
)    if (CONDITION) throw Aspect_BadAccess(MESSAGE);