Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
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
20namespace Teuchos {
21
25class MissingDependeeException : public std::logic_error{
26
27public:
28
35 const std::string& what_arg):std::logic_error(what_arg){}
36
37};
38
42class MissingDependentException : public std::logic_error{
43
44public:
45
52 const std::string& what_arg):std::logic_error(what_arg){}
53
54};
55
59class MissingDependeesException : public std::logic_error{
60
61public:
62
69 const std::string& what_arg):std::logic_error(what_arg){}
70
71};
72
76class MissingDependentsException : public std::logic_error{
77
78public:
79
86 const std::string& what_arg):std::logic_error(what_arg){}
87
88};
89
93class TooManyDependeesException : public std::logic_error{
94
95public:
96
103 const std::string& what_arg):std::logic_error(what_arg){}
104
105};
106
110class ValuesTagMissingException : public std::logic_error{
111
112public:
113
120 const std::string& what_arg):std::logic_error(what_arg){}
121
122};
123
127class MissingRangesAndValidatorsTagException : public std::logic_error{
128
129public:
130
137 const std::string& what_arg):std::logic_error(what_arg){}
138
139};
140
141
145class MissingValuesAndValidatorsTagException : public std::logic_error{
146
147public:
148
155 const std::string& what_arg):std::logic_error(what_arg){}
156
157};
158
162class MissingConditionTagException : public std::logic_error{
163
164public:
165
172 const std::string& what_arg):std::logic_error(what_arg){}
173
174};
175
179class MissingValidatorException : public std::logic_error{
180
181public:
182
189 const std::string& what_arg):std::logic_error(what_arg){}
190
191};
192
193
195class CantFindDependencyConverterException : public std::logic_error{
196
197public:
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 an appropriate Dependency Converter can't be found.
CantFindDependencyConverterException(const std::string &what_arg)
Constructs an CantFindDependencyConverterException.
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 dependes of a dependency can't be found when converting the dependency to or from XML.
MissingDependeeException(const std::string &what_arg)
Constructs an MissingDependeeException.
Thrown when no dependess of a dependency are specified when converting the dependency from XML.
MissingDependeesException(const std::string &what_arg)
Constructs an MissingDependeesException.
Thrown when a dependent of a dependency cant be found when converting the dependency to or from XML.
MissingDependentException(const std::string &what_arg)
Constructs an MissingDependentException.
Thrown when no dependents of a dependency are specified when converting the dependency from XML.
MissingDependentsException(const std::string &what_arg)
Constructs an MissingDependentsException.
Thrown when the rangesAndValidators tag for the RangeValidatorDepencyConverter can't be found.
MissingRangesAndValidatorsTagException(const std::string &what_arg)
Constructs an MissingRangesAndValidatorsTagException.
Thrown when converting a dependency that has validaotrs to and from XML. This excetpion indicates tha...
MissingValidatorException(const std::string &what_arg)
Constructs an MissingValidatorException.
Thrown when converting a StrinvValidatorDependcny from XML and no valuesAndValidators tag is found.
MissingValuesAndValidatorsTagException(const std::string &what_arg)
Constructs an MissingValuesAndValidatorsTagException.
Smart reference counting pointer class for automatic garbage collection.
Thrown when a Dependency has too many dependees specified in its XML.
TooManyDependeesException(const std::string &what_arg)
Constructs an TooManyDependeesException.
Thrown when a StringVisualDependency is being converted from XML and no Values tag is found.
ValuesTagMissingException(const std::string &what_arg)
Constructs an ValuesTagMissingException.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...