Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_XMLDependencyExceptions.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_XMLDEPENDENCYEXCEPTIONS_HPP_
11 #define TEUCHOS_XMLDEPENDENCYEXCEPTIONS_HPP_
12 
18 #include <stdexcept>
19 
20 namespace Teuchos {
21 
25 class MissingDependeeException : public std::logic_error{
26 
27 public:
28 
35  const std::string& what_arg):std::logic_error(what_arg){}
36 
37 };
38 
42 class MissingDependentException : public std::logic_error{
43 
44 public:
45 
52  const std::string& what_arg):std::logic_error(what_arg){}
53 
54 };
55 
59 class MissingDependeesException : public std::logic_error{
60 
61 public:
62 
69  const std::string& what_arg):std::logic_error(what_arg){}
70 
71 };
72 
76 class MissingDependentsException : public std::logic_error{
77 
78 public:
79 
86  const std::string& what_arg):std::logic_error(what_arg){}
87 
88 };
89 
93 class TooManyDependeesException : public std::logic_error{
94 
95 public:
96 
103  const std::string& what_arg):std::logic_error(what_arg){}
104 
105 };
106 
110 class ValuesTagMissingException : public std::logic_error{
111 
112 public:
113 
120  const std::string& what_arg):std::logic_error(what_arg){}
121 
122 };
123 
127 class MissingRangesAndValidatorsTagException : public std::logic_error{
128 
129 public:
130 
137  const std::string& what_arg):std::logic_error(what_arg){}
138 
139 };
140 
141 
145 class MissingValuesAndValidatorsTagException : public std::logic_error{
146 
147 public:
148 
155  const std::string& what_arg):std::logic_error(what_arg){}
156 
157 };
158 
162 class MissingConditionTagException : public std::logic_error{
163 
164 public:
165 
172  const std::string& what_arg):std::logic_error(what_arg){}
173 
174 };
175 
179 class MissingValidatorException : public std::logic_error{
180 
181 public:
182 
189  const std::string& what_arg):std::logic_error(what_arg){}
190 
191 };
192 
193 
195 class CantFindDependencyConverterException : public std::logic_error{
196 
197 public:
198 
205  const std::string& what_arg):std::logic_error(what_arg){}
206 
207 };
208 
209 
210 
211 } // namespace Teuchos
212 #endif //TEUCHOS_XMLDEPENDENCYEXCEPTIONS_HPP_
Thrown when no dependes of a dependency can&#39;t be found when converting the dependency to or from XML...
MissingDependeeException(const std::string &what_arg)
Constructs an MissingDependeeException.
Thrown when a StringVisualDependency is being converted from XML and no Values tag is found...
MissingDependentException(const std::string &what_arg)
Constructs an MissingDependentException.
ValuesTagMissingException(const std::string &what_arg)
Constructs an ValuesTagMissingException.
CantFindDependencyConverterException(const std::string &what_arg)
Constructs an CantFindDependencyConverterException.
Thrown when a dependent of a dependency cant be found when converting the dependency to or from XML...
MissingRangesAndValidatorsTagException(const std::string &what_arg)
Constructs an MissingRangesAndValidatorsTagException.
MissingDependeesException(const std::string &what_arg)
Constructs an MissingDependeesException.
Thrown when no dependents of a dependency are specified when converting the dependency from XML...
MissingValuesAndValidatorsTagException(const std::string &what_arg)
Constructs an MissingValuesAndValidatorsTagException.
MissingDependentsException(const std::string &what_arg)
Constructs an MissingDependentsException.
Thrown when the rangesAndValidators tag for the RangeValidatorDepencyConverter can&#39;t be found...
MissingValidatorException(const std::string &what_arg)
Constructs an MissingValidatorException.
Thrown when a Dependency has too many dependees specified in its XML.
TooManyDependeesException(const std::string &what_arg)
Constructs an TooManyDependeesException.
Thrown when converting a StrinvValidatorDependcny from XML and no valuesAndValidators tag is found...
Thrown when converting a dependency that has validaotrs to and from XML. This excetpion indicates tha...
Thrown when no condtion tag is found when converting a ConditionVisualDependency from XML...
MissingConditionTagException(const std::string &what_arg)
Constructs an MissingConditionTagException.
Thrown when no dependess of a dependency are specified when converting the dependency from XML...
Thrown when an appropriate Dependency Converter can&#39;t be found.