BOSS
7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/ers/ers-00-00-03/ers/IssueFactoryIssue.h
Go to the documentation of this file.
1
/*
2
* IssueFactoryIssue.h
3
* ers
4
*
5
* Created by Matthias Wiesmann on 04.01.05.
6
* Copyright 2005 CERN. All rights reserved.
7
*
8
*/
9
10
#ifndef ERS_ISSUE_FACTORY_ISSUE
11
#define ERS_ISSUE_FACTORY_ISSUE
12
13
#include "ers/Issue.h"
14
15
namespace
ers
{
16
17
/** This class represents an issue that occurs in the Issue factory.
18
* Those issue typically mean that a Issue object could not be deserialized.
19
* \author Matthias Wiesmann
20
* \version 1.0
21
* \brief Issue in the Issue factory mechanism.
22
*/
23
24
class
IssueFactoryIssue
:
public
Issue
{
25
26
protected
:
27
IssueFactoryIssue
(
const
Context
&context,
severity_t
s
);
28
public
:
29
static
const
char
*
const
CLASS_NAME
;
30
31
IssueFactoryIssue
() ;
32
IssueFactoryIssue
(
const
Context
&context,
severity_t
s
,
const
std::string&name,
const
std::string &
message
);
33
34
const
char
*
get_class_name
()
const
throw() ;
35
} ;
// IssueFactoryIssue
36
37
38
}
// ers
39
40
/** \def ERS_ISSUE_FACTORY_ERROR(name,message) Macro that inserts the ERS_HERE and the error value for IssueFactoryIssue constructor
41
*/
42
43
#define ERS_ISSUE_FACTORY_ERROR(name,message) IssueFactoryIssue(ERS_HERE,ers::error,name,message)
44
45
#endif
46
s
XmlRpcServer s
Definition:
HelloServer.cpp:11
ers::Context
Source context for Issue.
Definition:
Event/ers/ers-00-00-03/ers/Context.h:42
ers::IssueFactoryIssue
Issue in the Issue factory mechanism.
Definition:
Event/ers/ers-00-00-03/ers/IssueFactoryIssue.h:24
ers::IssueFactoryIssue::get_class_name
const char * get_class_name() const
Get key for class (used for serialisation)
Definition:
IssueFactoryIssue.cxx:46
ers::IssueFactoryIssue::IssueFactoryIssue
IssueFactoryIssue()
Definition:
IssueFactoryIssue.cxx:24
ers::IssueFactoryIssue::CLASS_NAME
static const char *const CLASS_NAME
Definition:
Event/ers/ers-00-00-03/ers/IssueFactoryIssue.h:29
ers::Issue
Root Issue class.
Definition:
Event/ers/ers-00-00-03/ers/Issue.h:40
ers::Issue::message
const std::string & message() const
Message.
Definition:
ers/ers-00-00-03/src/Issue.cxx:689
ers
Definition:
Event/ers/ers-00-00-03/ers/Assertion.h:20
ers::severity_t
enum ers::_severity_t severity_t
source
Event
ers
ers-00-00-03
ers
IssueFactoryIssue.h
Generated by
1.9.6