1 #ifndef STK_UTIL_PARALLEL_ExceptionReport_hpp 2 #define STK_UTIL_PARALLEL_ExceptionReport_hpp 4 #include <stk_util/environment/ReportHandler.hpp> 5 #include <stk_util/environment/RuntimeWarning.hpp> 6 #include <stk_util/environment/RuntimeDoomed.hpp> 8 #include <stk_util/util/Fortran.hpp> 17 #define WarnTrace std::string(std::string(" warning at ") + stk_classic::source_relative_path(STR_TRACE)) 24 #define ErrorTrace std::string(std::string(" error thrown from ") + stk_classic::source_relative_path(STR_TRACE)) 28 enum ErrorDieEnum{DIE_ON_WARN=0, DIE_ON_ERROR=1, DIE_ON_MESSAGE=2};
46 void set_test_error_messages_file(
const std::string &test_error_messages_path);
48 std::ofstream *get_test_error_messages_file();
50 void set_test_error_messages_die_on_first_message(std::vector<ErrorDieEnum> errorTypes);
52 bool get_test_error_messages_die_on_first_warning();
53 bool get_test_error_messages_die_on_first_error();
79 void SIERRA_FORTRAN(report_error)(
int &int_val,
const char *message,
const int message_length);
81 #endif // STK_UTIL_PARALLEL_ExceptionReport_hpp
stk_classic::RuntimeWarningAdHoc RuntimeWarning
Deprecated.
Class RuntimeWarningSymmetric reports a symmetric warning message to the report system.
Class MessageCode declares a message identifier and throttle characteristics for a message...
stk_classic::RuntimeDoomedSymmetric RuntimeDoomedP0
Deprecated.
stk_classic::RuntimeWarningSymmetric RuntimeWarningP0
Deprecated.
Class RuntimeDoomedDeferred reports a deferred fatal error message to the report system.
Class RuntimeWarningDeferred reports a deferred warning message to the report system.
stk_classic::RuntimeDoomedAdHoc RuntimeDoomed
Deprecated.
Class RuntimeWarningAdHoc reports an ad hoc warning message to the report system. ...
Class RuntimeDoomedSymmetric reports a fatal error message to the report system.
Class RuntimeDoomedAdHoc reports an ad hoc doomed message to the report system.