Teuchos_TestForException.hpp File Reference

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

#include "Teuchos_ConfigDefs.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.
#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.

Functions

void TestForException_break ()
 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.


Generated on Thu Sep 18 12:41:19 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1