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 _LOG4CPP_CONFIGURATOR_HH 00009 #define _LOG4CPP_CONFIGURATOR_HH 00010 00011 #pragma warning( disable: 4275 ) // non dll-interface structXXX used as base 00012 00013 #include <log4cpp/Portability.hh> 00014 #include <log4cpp/Export.hh> 00015 #include <string> 00016 #include <stdexcept> 00017 00018 LOG4CPP_NS_BEGIN 00019 00023 class LOG4CPP_EXPORT ConfigureFailure : public std::runtime_error { 00024 public: 00029 ConfigureFailure(const std::string& reason); 00030 }; 00031 00032 LOG4CPP_NS_END 00033 00034 00035 #endif // _LOG4CPP_CONFIGURATOR_HH