Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_XMLConditionExceptions.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_XMLCONDITIONEXCEPTIONS_HPP_
11 #define TEUCHOS_XMLCONDITIONEXCEPTIONS_HPP_
12 
18 #include <stdexcept>
19 
20 namespace Teuchos {
21 
24 class MissingValuesTagException : public std::logic_error{
25 
26 public:
27 
33  MissingValuesTagException(const std::string& what_arg):
34  std::logic_error(what_arg){}
35 
36 };
37 
39 class CantFindConditionConverterException : public std::logic_error{
40 
41 public:
42 
48  CantFindConditionConverterException(const std::string& what_arg):
49  std::logic_error(what_arg){}
50 
51 };
52 
53 
54 
55 } // namespace Teuchos
56 #endif //TEUCHOS_XMLCONDITIONEXCEPTIONS_HPP_
57 
CantFindConditionConverterException(const std::string &what_arg)
Constructs an CantFindConditionConverterException.
MissingValuesTagException(const std::string &what_arg)
Constructs an MissingValuesTagException.
Thrown when an appropriate Condition Converter can&#39;t be found.
Thrown when a StringConditon is missing it&#39;s Value tag.