46#ifndef MUELU_EXCEPTIONS_HPP
47#define MUELU_EXCEPTIONS_HPP
49#include <Teuchos_Exceptions.hpp>
54 namespace Exceptions {
57 class BadCast :
public Teuchos::ExceptionBase {
59 BadCast(
const std::string& what_arg);
76 class Overflow :
public Teuchos::ExceptionBase {
78 Overflow(
const std::string& what_arg);
102#define MUELU_TPETRA_ETI_EXCEPTION(cl,obj,go) TEUCHOS_TEST_FOR_EXCEPTION(1, ::MueLu::Exceptions::BadCast, "Problem in " #cl "! Cannot create new object " #obj " with GO=" #go ". MueLu has been compiled with Tpetra enabled bug GO!=" #go ". Please add TPETRA_INST_INT_INT to your configuration.");
Exception indicating invalid cast attempted.
BadCast(const std::string &what_arg)
Exception throws to report data dependency problems between factories.
DependencyError(const std::string &what_arg)
Exception throws to report incompatible objects (like maps).
Incompatible(const std::string &what_arg)
Exception throws to report invalid user entry.
InvalidArgument(const std::string &what_arg)
Exception throws when you call an unimplemented method of MueLu.
NotImplemented(const std::string &what_arg)
Exception throws to report overflows.
Overflow(const std::string &what_arg)
Exception throws to report errors in the internal logical of the program.
RuntimeError(const std::string &what_arg)
Namespace for MueLu classes and methods.