Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
messagefacility
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
string
std::string string
Definition:
nybbler.cc:12
mf::errors::Configuration
Definition:
exception.h:9
mf
Definition:
MessageLogger.cc:42
mf::Exception
cet::coded_exception< errors::error, detail::translate > Exception
Definition:
exception.h:16
detail
Definition:
includer.cc:28
mf::errors::OtherError
Definition:
exception.h:9
mf::detail::translate
std::string translate(errors::error)
Definition:
exception.cc:4
mf::errors::error
error
Definition:
exception.h:9
Generated by
1.8.11