log4shib
1.0.4
|
00001 /* 00002 * Configurator.hh 00003 * 00004 * Copyright 2001, Glen Scott. All rights reserved. 00005 * 00006 * See the COPYING file for the terms of usage and distribution. 00007 */ 00008 #ifndef _LOG4SHIB_CONFIGURATOR_HH 00009 #define _LOG4SHIB_CONFIGURATOR_HH 00010 00011 #include <log4shib/Portability.hh> 00012 #include <log4shib/Export.hh> 00013 #include <string> 00014 #include <stdexcept> 00015 00016 namespace log4shib { 00017 00018 #if defined (_MSC_VER) 00019 #pragma warning( push ) 00020 #pragma warning( disable : 4275 ) 00021 #endif 00022 00026 class LOG4SHIB_EXPORT ConfigureFailure : public std::runtime_error { 00027 public: 00032 ConfigureFailure(const std::string& reason); 00033 }; 00034 00035 #if defined (_MSC_VER) 00036 #pragma warning( pop ) 00037 #endif 00038 00039 } 00040 00041 #endif // _LOG4SHIB_CONFIGURATOR_HH