#if !defined No_Exception && !defined No_OSD_Exception_IN_PAGE_ERROR
#define OSD_Exception_IN_PAGE_ERROR_Raise_if(CONDITION, MESSAGE) \
- if (CONDITION) OSD_Exception_IN_PAGE_ERROR::Raise(MESSAGE);
+ if (CONDITION) throw OSD_Exception_IN_PAGE_ERROR(MESSAGE);
#else
#define OSD_Exception_IN_PAGE_ERROR_Raise_if(CONDITION, MESSAGE)
#endif