00001 /* 00002 * ExampleIssue.h 00003 * Test 00004 * 00005 * Created by Matthias Wiesmann on 24.01.05. 00006 * Copyright 2005 CERN. All rights reserved. 00007 * 00008 */ 00009 00010 #include "ers/Issue.h" 00011 00012 00020 class ExampleIssue : public ers::Issue { 00021 00022 protected: 00023 ExampleIssue(const ers::Context& context, ers::severity_t severity) ; 00024 public: 00025 static const char* const CLASS_NAME ; 00026 static const char* const PROCRASTINATION_LEVEL_KEY ; 00027 ExampleIssue(); 00028 ExampleIssue(const ers::Context& context, ers::severity_t severity, int procrastination_level) ; 00029 virtual const char *get_class_name() const throw() ; 00030 int procrastination_level() const ; 00031 } ; // ExempleIssue 00032 00033 #define EXAMPLE_ERROR(level) ExampleIssue(ERS_HERE,ers_error,level) 00034 00035