BOSS 7.0.8
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
18namespace 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 */
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 */
Source context for Issue.
Definition: Context.h:42
Root Issue class.
severity_t severity() const
severity_t of the issue
enum ers::_severity_t severity_t