10#ifndef MUELU_EXCEPTIONS_HPP
11#define MUELU_EXCEPTIONS_HPP
13#include <Teuchos_Exceptions.hpp>
21class BadCast :
public Teuchos::ExceptionBase {
23 BadCast(
const std::string& what_arg);
43class Overflow :
public Teuchos::ExceptionBase {
45 Overflow(
const std::string& what_arg);
73#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.");
BadCast(const std::string &what_arg)
DependencyError(const std::string &what_arg)
Incompatible(const std::string &what_arg)
InvalidArgument(const std::string &what_arg)
NotImplemented(const std::string &what_arg)
Overflow(const std::string &what_arg)
RuntimeError(const std::string &what_arg)
Namespace for MueLu classes and methods.