BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/ers/include/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
26
public
:
27
static
const
char
*
const
CLASS_NAME
;
/**< \brief Class name */
28
static
const
char
*
const
ENTITY_NAME_KEY
;
29
static
const
char
*
const
ENTITY_TYPE_KEY
;
30
static
const
char
*
const
ENTITY_CONTEXT_KEY
;
31
EntityNotFoundIssue
();
32
EntityNotFoundIssue
(
const
ers::Context
& c,
ers::severity_t
s
,
33
const
std::string& entity_name,
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
}
// namespace ers
s
XmlRpcServer s
Definition
HelloServer.cpp:11
ers::Context
Source context for Issue.
Definition
Event/ers/include/ers/Context.h:41
ers::EntityNotFoundIssue::EntityNotFoundIssue
EntityNotFoundIssue(const ers::Context &c, ers::severity_t s)
Definition
EntityNotFoundIssue.cxx:31
ers::EntityNotFoundIssue::get_class_name
virtual const char * get_class_name() const
Get key for class (used for serialisation).
Definition
EntityNotFoundIssue.cxx:25
ers::EntityNotFoundIssue::ENTITY_TYPE_KEY
static const char *const ENTITY_TYPE_KEY
Definition
Event/ers/include/ers/EntityNotFoundIssue.h:29
ers::EntityNotFoundIssue::EntityNotFoundIssue
EntityNotFoundIssue()
Definition
EntityNotFoundIssue.cxx:28
ers::EntityNotFoundIssue::CLASS_NAME
static const char *const CLASS_NAME
Class name.
Definition
Event/ers/include/ers/EntityNotFoundIssue.h:27
ers::EntityNotFoundIssue::ENTITY_CONTEXT_KEY
static const char *const ENTITY_CONTEXT_KEY
Definition
Event/ers/include/ers/EntityNotFoundIssue.h:30
ers::EntityNotFoundIssue::ENTITY_NAME_KEY
static const char *const ENTITY_NAME_KEY
Definition
Event/ers/include/ers/EntityNotFoundIssue.h:28
ers::Issue::Issue
Issue(const Context &context, severity_t s)
Constructor for subclasses.
Definition
ers/src/Issue.cxx:122
ers
Definition
Event/ers/include/ers/Assertion.h:20
ers::severity_t
enum ers::_severity_t severity_t
8.0.0
BOSS_Source
Event
ers
include
ers
EntityNotFoundIssue.h
Generated by
1.16.1