BOSS
6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
eformat/eformat-00-00-04/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:
[email protected]
">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
/**
28
* Builds a new bad-version exception
29
*
30
* @param context The Error Reporting System context to be used to identify
31
* the spot where this issue was created
32
* @param severity The severity of this issue
33
* @param current The version number that this fragment has
34
* @param supported The version which is supposed to be supported here
35
*/
36
Issue
(
const
ers::Context
& context,
ers::severity_t
severity
);
37
38
/**
39
* Destructor virtualisation
40
*/
41
virtual
~Issue
() throw() {}
42
43
};
44
45
}
46
47
/**
48
* Simplifies the use of this Issue
49
*/
50
#define EFORMAT_ISSUE eformat::Issue(ERS_HERE, ers::error)
51
52
#endif
/* EFORMAT_ISSUE_H */
eformat::Issue
Definition:
eformat/eformat-00-00-04/eformat/Issue.h:23
eformat::Issue::~Issue
virtual ~Issue()
Definition:
eformat/eformat-00-00-04/eformat/Issue.h:41
ers::Context
Source context for Issue.
Definition:
Context.h:42
ers::Issue
Root Issue class.
Definition:
ers/ers-00-00-02/ers/Issue.h:40
ers::Issue::Issue
Issue()
Definition:
ers/ers-00-00-02/src/Issue.cxx:74
ers::Issue::severity
severity_t severity() const
severity_t of the issue
Definition:
ers/ers-00-00-02/src/Issue.cxx:602
Issue.h
eformat
Definition:
BadVersionIssue.h:20
ers::severity_t
enum ers::_severity_t severity_t
source
Event
eformat
eformat-00-00-04
eformat
Issue.h
Generated by
1.9.6