log4shib 2.0.1
Loading...
Searching...
No Matches
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
12#include <log4shib/Export.hh>
13#include <string>
14#include <stdexcept>
15
16namespace 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
#define LOG4SHIB_EXPORT
Definition Export.hh:11
ConfigureFailure(const std::string &reason)
Constructor.
Definition Configurator.cpp:13
The top level namespace for all 'Log for C++' types and classes.
Definition AbortAppender.hh:16