Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Teuchos_ParameterListExceptions.hpp
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_PARAMETER_LIST_EXCEPTIONS_H
11#define TEUCHOS_PARAMETER_LIST_EXCEPTIONS_H
12
14
15namespace Teuchos {
16
17namespace Exceptions {
18
22class InvalidArgument : public std::invalid_argument
23{public: InvalidArgument(const std::string& what_arg) : std::invalid_argument(what_arg) {}};
24
28class InvalidParameter : public std::logic_error
29{public: InvalidParameter(const std::string& what_arg) : std::logic_error(what_arg) {}};
30
36
42
48
49} // namespace Exceptions
50
51} // end of Teuchos namespace
52
53#endif // TEUCHOS_PARAMETER_LIST_EXCEPTIONS_H
54
55
Teuchos header file which uses auto-configuration information to include necessary C++ headers.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...