All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Xpetra::Exceptions::BadCast Class Reference

Exception indicating invalid cast attempted. More...

#include <Xpetra_Exceptions.hpp>

Inheritance diagram for Xpetra::Exceptions::BadCast:
Teuchos::ExceptionBase

Public Member Functions

 BadCast (const std::string &what_arg)
 

Detailed Description

Exception indicating invalid cast attempted.

For instance, this exception is throw when you try to mix Epetra and Tpetra objects: for example, a Xpetra::EpetraCrsMatrix cannot be built from a Xpetra::TpetraMap.

Definition at line 86 of file Xpetra_Exceptions.hpp.

Constructor & Destructor Documentation

Xpetra::Exceptions::BadCast::BadCast ( const std::string &  what_arg)
inline

Definition at line 89 of file Xpetra_Exceptions.hpp.


The documentation for this class was generated from the following file: