LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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 "cetlib_except/exception.h"
5
6
#include <exception>
7
#include <string>
8
9
namespace
fhicl
{
10
namespace
detail {
11
12
class
validationException
:
public
std::exception
{
13
public
:
14
validationException
(std::string msg) :
msg_
{std::move(msg)} {}
15
char
const
*
16
what
() const noexcept
override
17
{
18
return
msg_
.c_str();
19
}
20
21
private
:
22
std::string
msg_
;
23
};
24
}
25
}
26
27
#endif
/* fhiclcpp_types_detail_validationException_h */
28
29
// Local variables:
30
// mode:c++
31
// End:
fhicl::detail::validationException
Definition:
validationException.h:12
fhicl
parameter set interface
Definition:
ServiceProviderWrappers.h:37
fhicl::detail::validationException::what
char const * what() const noexcept override
Definition:
validationException.h:16
fhicl::detail::validationException::msg_
std::string msg_
Definition:
validationException.h:22
fhicl::exception
cet::coded_exception< error, detail::translate > exception
Definition:
exception.h:33
fhicl::detail::validationException::validationException
validationException(std::string msg)
Definition:
validationException.h:14
fhiclcpp
types
detail
validationException.h
Generated on Thu Jul 26 2018 13:09:45 for LArSoft by
1.8.11