MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_Exceptions.cpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// MueLu: A package for multigrid based preconditioning
4//
5// Copyright 2012 NTESS and the MueLu contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#include <Teuchos_Exceptions.hpp>
11#include <MueLu_Exceptions.hpp>
12
13#include "MueLu_ConfigDefs.hpp"
14
15namespace MueLu {
16namespace Exceptions {
17
18BadCast::BadCast(const std::string& what_arg)
19 : Teuchos::ExceptionBase(what_arg) {}
20
22
23NotImplemented::NotImplemented(const std::string& what_arg)
24 : Teuchos::ExceptionBase(what_arg) {}
25
27
28RuntimeError::RuntimeError(const std::string& what_arg)
29 : Teuchos::ExceptionBase(what_arg) {}
30
32
33Overflow::Overflow(const std::string& what_arg)
34 : Teuchos::ExceptionBase(what_arg) {}
35
37
38Incompatible::Incompatible(const std::string& what_arg)
39 : Teuchos::ExceptionBase(what_arg) {}
40
42
43DependencyError::DependencyError(const std::string& what_arg)
44 : Teuchos::ExceptionBase(what_arg) {}
45
47
48InvalidArgument::InvalidArgument(const std::string& what_arg)
49 : Teuchos::ExceptionBase(what_arg) {}
50
52
53} // namespace Exceptions
54} // namespace MueLu
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.