1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #ifndef anna_diameter_app_defines_hpp
10 #define anna_diameter_app_defines_hpp
12 #include <anna/core/tracing/Logger.hpp>
15 #define ASSERT_APP_GETAVP(source)\
17 catch (anna::RuntimeException &ex) {\
18 if (emode == anna::Exception::Mode::Throw) throw ex;\
20 if (emode == anna::Exception::Mode::Trace)\
21 anna::Logger::warning(ex.getText(), ANNA_FILE_LOCATION);\
24 if (emode == anna::Exception::Mode::Ignore)\
25 anna::Logger::debug(ex.getText(), ANNA_FILE_LOCATION);\