Ignore:
Timestamp:
Apr 24, 2010, 3:27:00 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
65b413
Parents:
298621
Message:

Added methods for specialized Notifications from the Observer Framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Helpers/Assert.hpp

    r298621 rc0332d  
    263263    }while(0)
    264264
     265  #define ASSERT_NOCATCH(message) \
     266                catch(Assert::AssertionFailure&){throw;}\
     267                catch(...){\
     268                  static bool ignore = false; \
     269                  _my_assert::check(false,"Exception caught",(message),__FILE__,__LINE__,ignore);\
     270                }
     271
    265272  #define ASSERT_DO(action)    do{_my_assert::setDefault(action);}while(0)
    266273  #define ASSERT_HOOK(hook)    do{_my_assert::addHook(hook);}while(0)
Note: See TracChangeset for help on using the changeset viewer.