LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
validationException.h
Go to the documentation of this file.
1
#ifndef fhiclcpp_types_detail_validationException_h
2
#define fhiclcpp_types_detail_validationException_h
3
4
#include <exception>
5
#include <string>
6
7
namespace
fhicl::detail
{
8
class
validationException
:
public
std::exception
{
9
public
:
10
validationException
(std::string msg) :
msg_
{std::move(msg)} {}
11
char
const
*
12
what
() const noexcept
override
13
{
14
return
msg_
.c_str();
15
}
16
17
private
:
18
std::string
msg_
;
19
};
20
}
21
22
#endif
/* fhiclcpp_types_detail_validationException_h */
23
24
// Local variables:
25
// mode:c++
26
// End:
fhicl::detail::validationException
Definition:
validationException.h:8
fhicl::detail::validationException::what
char const * what() const noexcept override
Definition:
validationException.h:12
fhicl::detail::validationException::msg_
std::string msg_
Definition:
validationException.h:18
fhicl::detail
Definition:
coding.h:43
fhicl::exception
cet::coded_exception< error, detail::translate > exception
Definition:
exception.h:33
fhicl::detail::validationException::validationException
validationException(std::string msg)
Definition:
validationException.h:10
fhiclcpp
types
detail
validationException.h
Generated on Thu May 2 2024 20:59:31 for LArSoft by
1.8.11