BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
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
12namespace 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
23protected:
25public:
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 ;
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
XmlRpcServer s
Definition: HelloServer.cpp:11
Source context for Issue.
Definition: Context.h:42
virtual const char * get_class_name() const
Get key for class (used for serialisation)
static const char *const ENTITY_CONTEXT_KEY
static const char *const ENTITY_NAME_KEY
static const char *const ENTITY_TYPE_KEY
static const char *const CLASS_NAME
Class name.
Root Issue class.
enum ers::_severity_t severity_t