Teuchos::m_bad_cast Class Reference
[Teuchos Language Support Utilities]

Exception class for bad cast. More...

#include <Teuchos_dyn_cast.hpp>

List of all members.

Public Member Functions

 m_bad_cast (const std::string &what_arg)
virtual ~m_bad_cast () throw ()
virtual const char * what () const throw ()

Detailed Description

Exception class for bad cast.

We create this class so that we may throw a bad_cast when appropriate and still use the TEST_FOR_EXCEPTION macro. We recommend users try to catch a bad_cast.

Definition at line 47 of file Teuchos_dyn_cast.hpp.

The documentation for this class was generated from the following file:
Generated on Wed May 12 21:24:42 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7