Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
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
20namespace Teuchos {
21
24class MissingValuesTagException : public std::logic_error{
25
26public:
27
34 std::logic_error(what_arg){}
35
36};
37
39class CantFindConditionConverterException : public std::logic_error{
40
41public:
42
49 std::logic_error(what_arg){}
50
51};
52
53
54
55} // namespace Teuchos
56#endif //TEUCHOS_XMLCONDITIONEXCEPTIONS_HPP_
57
Thrown when an appropriate Condition Converter can't be found.
CantFindConditionConverterException(const std::string &what_arg)
Constructs an CantFindConditionConverterException.
Thrown when a StringConditon is missing it's Value tag.
MissingValuesTagException(const std::string &what_arg)
Constructs an MissingValuesTagException.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...