Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_InvalidDependencyException.hpp
1 // @HEADER
2 // *****************************************************************************
3 // Teuchos: Common Tools Package
4 //
5 // Copyright 2004 NTESS and the Teuchos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TEUCHOS_INVALIDDEPENDENCYEXCEPTION_HPP_
11 #define TEUCHOS_INVALIDDEPENDENCYEXCEPTION_HPP_
12 #include <stdexcept>
13 
14 namespace Teuchos {
15 
19 class InvalidDependencyException : public std::logic_error{
20 public:
26  InvalidDependencyException(const std::string& what_arg):std::logic_error(what_arg){}
27 };
28 
29 }
30 #endif //TEUCHOS_INVALIDDEPENDENCYEXCEPTION_HPP_