#include "Teuchos_TypeNameTraits.hpp"
Go to the source code of this file.
Defines | |
#define | TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg) |
Macro for throwing an exception with breakpointing to ease debugging. | |
#define | TEST_FOR_EXCEPTION_PURE_MSG(throw_exception_test, Exception, msg) |
Macro for throwing an exception with breakpointing to ease debugging. | |
#define | TEST_FOR_EXCEPT(throw_exception_test) TEST_FOR_EXCEPTION(throw_exception_test,std::logic_error,"Error!") |
This macro is designed to be a short version of TEST_FOR_EXCEPTION() that is easier to call. | |
#define | TEST_FOR_EXCEPT_MSG(throw_exception_test, msg) TEST_FOR_EXCEPTION(throw_exception_test,std::logic_error,msg) |
This macro is designed to be a short version of TEST_FOR_EXCEPTION() that is easier to call. | |
#define | TEST_FOR_EXCEPTION_PRINT(throw_exception_test, Exception, msg, out_ptr) |
This macro is the same as TEST_FOR_EXCEPTION() except that the exception will be caught, the message printed, and then rethrown. | |
#define | TEST_FOR_EXCEPT_PRINT(throw_exception_test, out_ptr) TEST_FOR_EXCEPTION_PRINT(throw_exception_test,std::logic_error,"Error!",out_ptr) |
This macro is the same as TEST_FOR_EXCEPT() except that the exception will be caught, the message printed, and then rethrown. | |
#define | TEUCHOS_TRACE(exc) |
This macro intercepts an exception, prints a standardized message including the current filename and line number, and then throws the exception up the stack. | |
Functions | |
void | TestForException_incrThrowNumber () |
Increment the throw number. | |
int | TestForException_getThrowNumber () |
Increment the throw number. | |
void | TestForException_break (const std::string &msg) |
The only purpose for this function is to set a breakpoint. |
Definition in file Teuchos_TestForException.hpp.