Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_InvalidConditionException.hpp
Go to the documentation of this file.
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_INVALIDCONDITIONEXCEPTION_HPP_
11 #define TEUCHOS_INVALIDCONDITIONEXCEPTION_HPP_
12 #include <stdexcept>
13 
14 namespace Teuchos {
15 
19 class InvalidConditionException : public std::logic_error{
20 public:
26  InvalidConditionException(const std::string& what_arg):std::logic_error(what_arg){}
27 };
28 
29 }
30 #endif //TEUCHOS_INVALIDCONDITIONEXCEPTION_HPP_