BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/eformat/include/eformat/Issue.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/**
4
* @file eformat/Issue.h
5
* @author <a href="mailto:Andre.dos.Anjos@cern.ch">Andre DOS ANJOS</a>
6
* $Author: zhangy $
7
* $Revision: 1.1.1.1 $
8
* $Date: 2009/06/19 07:35:41 $
9
*
10
* @brief Defines the base eformat Issue
11
*/
12
13
#ifndef EFORMAT_ISSUE_H
14
#define EFORMAT_ISSUE_H
15
16
#include "ers/Issue.h"
17
18
namespace
eformat
{
19
20
/**
21
* This exception is supposed to be thrown when version problems are found
22
*/
23
class
Issue
:
public
ers::Issue
{
24
25
public
:
// interface
26
/**
27
* Builds a new bad-version exception
28
*
29
* @param context The Error Reporting System context to be used to identify
30
* the spot where this issue was created
31
* @param severity The severity of this issue
32
* @param current The version number that this fragment has
33
* @param supported The version which is supposed to be supported here
34
*/
35
Issue
(
const
ers::Context
& context,
ers::severity_t
severity
);
36
37
/**
38
* Destructor virtualisation
39
*/
40
virtual
~Issue
() throw() {}
41
};
42
43
}
// namespace eformat
44
45
/**
46
* Simplifies the use of this Issue
47
*/
48
#define EFORMAT_ISSUE eformat::Issue( ERS_HERE, ers::error )
49
50
#endif
/* EFORMAT_ISSUE_H */
eformat::Issue::Issue
Issue(const ers::Context &context, ers::severity_t severity)
Definition
eformat/src/Issue.cxx:15
eformat::Issue::~Issue
virtual ~Issue()
Definition
Event/eformat/include/eformat/Issue.h:40
ers::Context
Source context for Issue.
Definition
Event/ers/include/ers/Context.h:41
ers::Issue
Root Issue class.
Definition
Event/ers/include/ers/Issue.h:37
ers::Issue::Issue
Issue()
Definition
ers/src/Issue.cxx:79
ers::Issue::severity
severity_t severity() const
severity_t of the issue
Definition
ers/src/Issue.cxx:584
eformat
Definition
Event/eformat/include/eformat/BadVersionIssue.h:20
ers::severity_t
enum ers::_severity_t severity_t
8.0.0
BOSS_Source
Event
eformat
include
eformat
Issue.h
Generated by
1.16.1