Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Defines | Functions
Teuchos_TestForException.hpp File Reference

Macro for throwing an exception with breakpointing to ease debugging. More...

#include <Teuchos_TypeNameTraits.hpp>
Include dependency graph for Teuchos_TestForException.hpp:
This graph shows which files directly or indirectly include this file:

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.

Functions

TEUCHOS_LIB_DLL_EXPORT void TestForException_incrThrowNumber ()
 Increment the throw number.
TEUCHOS_LIB_DLL_EXPORT int TestForException_getThrowNumber ()
 Increment the throw number.
TEUCHOS_LIB_DLL_EXPORT void TestForException_break (const std::string &msg)
 The only purpose for this function is to set a breakpoint.

Detailed Description

Macro for throwing an exception with breakpointing to ease debugging.

Definition in file Teuchos_TestForException.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines