BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/ers/ers-00-00-03/ers/EntityNotFoundIssue.h
Go to the documentation of this file.
1
/*
2
* EntityNotFoundIssue.h
3
* ers
4
*
5
* Created by Matthias Wiesmann on 09.02.05.
6
* Copyright 2005 CERN. All rights reserved.
7
*
8
*/
9
10
#include "ers/Issue.h"
11
12
namespace
ers
{
13
14
/** This class represents the issue where a entity was searched for but not found.
15
* Typically when a search fails, instances of this class (or subclasses) should be thrown or
16
* returned
17
* \author Matthias Wiesmann
18
* \version 1.0
19
*/
20
21
class
EntityNotFoundIssue
:
public
Issue
{
22
23
protected
:
24
EntityNotFoundIssue
(
const
ers::Context
&c,
ers::severity_t
s
) ;
25
public
:
26
static
const
char
*
const
CLASS_NAME
;
/**< \brief Class name */
27
static
const
char
*
const
ENTITY_NAME_KEY
;
28
static
const
char
*
const
ENTITY_TYPE_KEY
;
29
static
const
char
*
const
ENTITY_CONTEXT_KEY
;
30
EntityNotFoundIssue
();
31
EntityNotFoundIssue
(
const
ers::Context
&c,
ers::severity_t
s
,
32
const
std::string &entity_name,
33
const
std::string &entity_type,
34
const
std::string &entity_context) ;
35
virtual
const
char
*
get_class_name
()
const
throw() ;
36
37
} ;
// EntityNotFoundIssue
38
39
}
// ers
40
41
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::EntityNotFoundIssue
Definition:
Event/ers/ers-00-00-03/ers/EntityNotFoundIssue.h:21
ers::EntityNotFoundIssue::get_class_name
virtual const char * get_class_name() const
Get key for class (used for serialisation)
Definition:
EntityNotFoundIssue.cxx:24
ers::EntityNotFoundIssue::ENTITY_TYPE_KEY
static const char *const ENTITY_TYPE_KEY
Definition:
Event/ers/ers-00-00-03/ers/EntityNotFoundIssue.h:28
ers::EntityNotFoundIssue::EntityNotFoundIssue
EntityNotFoundIssue()
Definition:
EntityNotFoundIssue.cxx:27
ers::EntityNotFoundIssue::CLASS_NAME
static const char *const CLASS_NAME
Class name.
Definition:
Event/ers/ers-00-00-03/ers/EntityNotFoundIssue.h:26
ers::EntityNotFoundIssue::ENTITY_CONTEXT_KEY
static const char *const ENTITY_CONTEXT_KEY
Definition:
Event/ers/ers-00-00-03/ers/EntityNotFoundIssue.h:29
ers::EntityNotFoundIssue::ENTITY_NAME_KEY
static const char *const ENTITY_NAME_KEY
Definition:
Event/ers/ers-00-00-03/ers/EntityNotFoundIssue.h:27
ers::Issue
Root Issue class.
Definition:
Event/ers/ers-00-00-03/ers/Issue.h:40
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
EntityNotFoundIssue.h
Generated by
1.9.6