log4shib 2.0.0

Configurator.hh
Go to the documentation of this file.
1/*
2 * Configurator.hh
3 *
4 * Copyright 2001, Glen Scott. All rights reserved.
5 *
6 * See the COPYING file for the terms of usage and distribution.
7 */
8#ifndef _LOG4SHIB_CONFIGURATOR_HH
9#define _LOG4SHIB_CONFIGURATOR_HH
10
11#include <log4shib/Portability.hh>
12#include <log4shib/Export.hh>
13#include <string>
14#include <stdexcept>
15
16 namespace log4shib {
17
18#if defined (_MSC_VER)
19 #pragma warning( push )
20 #pragma warning( disable : 4275 )
21#endif
22
26 class LOG4SHIB_EXPORT ConfigureFailure : public std::runtime_error {
27 public:
32 ConfigureFailure(const std::string& reason);
33 };
34
35#if defined (_MSC_VER)
36 #pragma warning( pop )
37#endif
38
39}
40
41#endif // _LOG4SHIB_CONFIGURATOR_HH
Export.hh
LOG4SHIB_EXPORT
#define LOG4SHIB_EXPORT
Definition: Export.hh:11
Portability.hh
log4shib::ConfigureFailure
Exception class for configuration.
Definition: Configurator.hh:26
log4shib
The top level namespace for all 'Log for C++' types and classes.
Definition: AbortAppender.hh:16