Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_XMLParameterListExceptions.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_XMLPARAMETERLISTEXCEPTIONS_HPP_
11 #define TEUCHOS_XMLPARAMETERLISTEXCEPTIONS_HPP_
12 
17 #include <stdexcept>
18 
19 namespace Teuchos {
20 
25 class CantFindParameterEntryConverterException : public std::logic_error{
26 
27 public:
28 
34  CantFindParameterEntryConverterException(const std::string& what_arg):std::logic_error(what_arg){}
35 
36 };
37 
43 class DuplicateValidatorIDsException : public std::logic_error{
44 
45 public:
46 
52  DuplicateValidatorIDsException(const std::string& what_arg):std::logic_error(what_arg){}
53 
54 };
55 
59 class DuplicateParameterIDsException : public std::logic_error{
60 
61 public:
62 
68  DuplicateParameterIDsException(const std::string& what_arg):std::logic_error(what_arg){}
69 
70 };
71 
75 class BadValidatorXMLConverterException : public std::logic_error{
76 
77 public:
83  BadValidatorXMLConverterException(const std::string& what_arg):std::logic_error(what_arg){}
84 
85 };
86 
87 
92 class CantFindValidatorConverterException : public std::logic_error{
93 
94 public:
100  CantFindValidatorConverterException(const std::string& what_arg):std::logic_error(what_arg){}
101 
102 };
103 
104 
109 class BadParameterEntryXMLConverterTypeException : public std::logic_error{
110 
111 public:
112 
118  BadParameterEntryXMLConverterTypeException(const std::string& what_arg):std::logic_error(what_arg){}
119 
120 };
121 
122 
123 
127 class NoValueAttributeExecption : public std::logic_error{
128 public:
134  NoValueAttributeExecption(const std::string& what_arg):std::logic_error(what_arg){}
135 };
136 
137 
141 class NoTypeAttributeExecption : public std::logic_error{
142 public:
148  NoTypeAttributeExecption(const std::string& what_arg):std::logic_error(what_arg){}
149 };
150 
154 class NoNameAttributeExecption : public std::logic_error{
155 public:
161  NoNameAttributeExecption(const std::string& what_arg):std::logic_error(what_arg){}
162 };
163 
167 class BadParameterListElementException : public std::logic_error{
168 public:
174  BadParameterListElementException(const std::string& what_arg):std::logic_error(what_arg){}
175 };
176 
180 class BadXMLParameterListRootElementException : public std::logic_error{
181 public:
187  BadXMLParameterListRootElementException(const std::string& what_arg):std::logic_error(what_arg){}
188 };
189 
193 class MissingValidatorDefinitionException : public std::logic_error{
194 public:
201  const std::string& what_arg):std::logic_error(what_arg){}
202 };
203 
207 class MissingParameterEntryDefinitionException : public std::logic_error{
208 public:
215  const std::string& what_arg):std::logic_error(what_arg){}
216 };
217 
222 class BadTagException : public std::logic_error{
223 public:
229  BadTagException(const std::string& what_arg):std::logic_error(what_arg){}
230 };
231 
232 
233 } // namespace Teuchos
234 #endif //TEUCHOS_XMLPARAMETERLISTEXCEPTIONS_HPP_
BadTagException(const std::string &what_arg)
Constructs a MissingValidatorDefinitionException.
BadValidatorXMLConverterException(const std::string &what_arg)
Constructs an BadValidatorXMLConverterException.
Thrown when a parameter entry tag is missing it&#39;s value attribute.
MissingValidatorDefinitionException(const std::string &what_arg)
Constructs a MissingValidatorDefinitionException.
Thrown when a converter is being used to convert either and XML tag or ParameterEntry with an innappr...
MissingParameterEntryDefinitionException(const std::string &what_arg)
Constructs a MissingParameterEntryDefinitionException.
Thrown when a referenced ParameterEntry can&#39;t be found.
Thrown when a parameter entry tag is missing it&#39;s name attribute.
Thrown when the ValidatorXMLConverterDB can&#39;t find an appropriate converter.
Thrown when an appropriate ParameterEntryXMLConverter can&#39;t be found.
BadXMLParameterListRootElementException(const std::string &what_arg)
Constructs a BadXMLParameterListRootElementException.
Thrown when an element inside a parameter list is bad.
DuplicateParameterIDsException(const std::string &what_arg)
Constructs an DuplicateParameterIDsException.
BadParameterEntryXMLConverterTypeException(const std::string &what_arg)
Constructs a BadParmaeterEntryXMLConverterTypeException.
Thrown when a parameter entry tag is missing it&#39;s type attribute.
Thrown when the root xml tag for a parameter list is incorrect.
Thrown when two parameters in an XML file have the same ID.
CantFindValidatorConverterException(const std::string &what_arg)
Constructs a CantFindValidatorConverterException.
Constructs a CantFindParameterEntryConverterException.
NoTypeAttributeExecption(const std::string &what_arg)
Constructs a NoTypeAttributeExecption.
Thrown when xml tag is encountered that is either unrecognized or inappropriate for a given context...
BadParameterListElementException(const std::string &what_arg)
Constructs a BadParameterListElementException.
DuplicateValidatorIDsException(const std::string &what_arg)
Constructs an DuplicateValidatorIDsException.
CantFindParameterEntryConverterException(const std::string &what_arg)
Constructs an CantFindParameterEntryConverterException.
NoNameAttributeExecption(const std::string &what_arg)
Constructs a NoNameAttributeExecption.
Thrown when a bad validator xml converter is used.
Thrown when a referenced validator can&#39;t be found.
NoValueAttributeExecption(const std::string &what_arg)
Constructs a NoValueAttributeExecption.