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
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
23 protected:
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;
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
XmlRpcServer s
Source context for Issue.
EntityNotFoundIssue(const ers::Context &c, ers::severity_t s)
virtual const char * get_class_name() const
Get key for class (used for serialisation).
static const char *const CLASS_NAME
Class name.
Issue(const Context &context, severity_t s)
Constructor for subclasses.
enum ers::_severity_t severity_t