Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
messagefacility
Utilities
exception.h
Go to the documentation of this file.
1
#ifndef messagefacility_Utilities_exception_h
2
#define messagefacility_Utilities_exception_h
3
4
#include "cetlib_except/coded_exception.h"
5
#include <string>
6
7
namespace
mf
{
8
namespace
errors
{
9
enum
error
{
Configuration
= 1,
LogicError
,
OtherError
};
10
}
// error
11
12
namespace
detail {
13
std::string
translate
(
errors::error
);
14
}
15
16
typedef
cet::coded_exception<errors::error, detail::translate>
Exception
;
17
}
// mf
18
19
#endif
/* messagefacility_Utilities_exception_h */
20
21
/// Local Variables:
22
/// mode: C++
23
/// c-basic-offset: 2
24
/// indent-tabs-mode: nil
25
/// End:
mf::errors::LogicError
Definition:
exception.h:9
mf::errors::Configuration
Definition:
exception.h:9
mf
Definition:
MessageLogger.h:20
mf::Exception
cet::coded_exception< errors::error, detail::translate > Exception
Definition:
exception.h:16
mf::errors::OtherError
Definition:
exception.h:9
fhicl::detail::translate
std::string translate(error)
mf::errors::error
error
Definition:
exception.h:9
make_syst_table_plots.errors
errors
Definition:
make_syst_table_plots.py:255
string
enum BeamMode string
Generated on Thu Jan 21 2021 14:15:23 for NOvA by
1.8.11