MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
15 namespace MueLu {
16 namespace Exceptions {
17 
18 BadCast::BadCast(const std::string& what_arg)
19  : Teuchos::ExceptionBase(what_arg) {}
20 
22 
23 NotImplemented::NotImplemented(const std::string& what_arg)
24  : Teuchos::ExceptionBase(what_arg) {}
25 
27 
28 RuntimeError::RuntimeError(const std::string& what_arg)
29  : Teuchos::ExceptionBase(what_arg) {}
30 
32 
33 Overflow::Overflow(const std::string& what_arg)
34  : Teuchos::ExceptionBase(what_arg) {}
35 
37 
38 Incompatible::Incompatible(const std::string& what_arg)
39  : Teuchos::ExceptionBase(what_arg) {}
40 
42 
43 DependencyError::DependencyError(const std::string& what_arg)
44  : Teuchos::ExceptionBase(what_arg) {}
45 
47 
48 InvalidArgument::InvalidArgument(const std::string& what_arg)
49  : Teuchos::ExceptionBase(what_arg) {}
50 
52 
53 } // namespace Exceptions
54 } // namespace MueLu
NotImplemented(const std::string &what_arg)
Incompatible(const std::string &what_arg)
DependencyError(const std::string &what_arg)
InvalidArgument(const std::string &what_arg)
BadCast(const std::string &what_arg)
RuntimeError(const std::string &what_arg)
Overflow(const std::string &what_arg)