Configurator.hh 709 B

12345678910111213141516171819202122232425262728293031
  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 _LOG4CPP_CONFIGURATOR_HH
  9. #define _LOG4CPP_CONFIGURATOR_HH
  10. #include <log4cpp/Portability.hh>
  11. #include <log4cpp/Export.hh>
  12. #include <string>
  13. #include <stdexcept>
  14. namespace log4cpp {
  15. /**
  16. * Exception class for configuration.
  17. */
  18. class LOG4CPP_EXPORT ConfigureFailure : public std::runtime_error {
  19. public:
  20. /**
  21. * Constructor.
  22. * @param reason String containing the description of the exception.
  23. */
  24. ConfigureFailure(const std::string& reason);
  25. };
  26. }
  27. #endif // _LOG4CPP_CONFIGURATOR_HH