Exception indicating invalid cast attempted. More...
#include <Xpetra_Exceptions.hpp>
Public Member Functions | |
BadCast (const std::string &what_arg) | |
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.
|
inline |
Definition at line 89 of file Xpetra_Exceptions.hpp.