LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
exception.h
Go to the documentation of this file.
1
#ifndef fhiclcpp_exception_h
2
#define fhiclcpp_exception_h
3
4
// ======================================================================
5
//
6
// exception
7
//
8
// ======================================================================
9
10
#include "cetlib_except/coded_exception.h"
11
12
#include <string>
13
14
namespace
fhicl
{
15
enum
error
{
16
cant_find
,
17
cant_happen
,
18
cant_insert
,
19
number_is_too_large
,
20
parse_error
,
21
type_mismatch
,
22
protection_violation
,
23
cant_open_db
,
24
sql_error
,
25
unimplemented
,
26
other
27
};
28
29
namespace
detail {
30
std::string
translate
(
error
);
31
}
32
33
using
exception
= cet::coded_exception<error, detail::translate>;
34
}
35
36
// ======================================================================
37
38
#endif
/* fhiclcpp_exception_h */
39
40
// Local Variables:
41
// mode: c++
42
// End:
fhicl::cant_insert
Definition:
exception.h:18
fhicl
parameter set interface
Definition:
ServiceProviderWrappers.h:37
fhicl::cant_find
Definition:
exception.h:16
fhicl::error
error
Definition:
exception.h:15
fhicl::other
Definition:
exception.h:26
fhicl::detail::translate
std::string translate(error)
Definition:
exception.cc:12
fhicl::type_mismatch
Definition:
exception.h:21
fhicl::unimplemented
Definition:
exception.h:25
fhicl::cant_open_db
Definition:
exception.h:23
fhicl::parse_error
Definition:
exception.h:20
fhicl::sql_error
Definition:
exception.h:24
fhicl::cant_happen
Definition:
exception.h:17
fhicl::exception
cet::coded_exception< error, detail::translate > exception
Definition:
exception.h:33
fhicl::number_is_too_large
Definition:
exception.h:19
fhicl::protection_violation
Definition:
exception.h:22
fhiclcpp
exception.h
Generated on Thu Jul 26 2018 13:10:21 for LArSoft by
1.8.11