You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
3.4 KiB

  1. /* /////////////////////////////////////////////////////////////////////////
  2. * File: stlsoft/error/exceptions.hpp
  3. *
  4. * Purpose: Obsolete header for common exception classes.
  5. *
  6. * Created: 19th January 2002
  7. * Updated: 10th August 2009
  8. *
  9. * Home: http://stlsoft.org/
  10. *
  11. * Copyright (c) 2002-2009, Matthew Wilson and Synesis Software
  12. * All rights reserved.
  13. *
  14. * Redistribution and use in source and binary forms, with or without
  15. * modification, are permitted provided that the following conditions are
  16. * met:
  17. *
  18. * - Redistributions of source code must retain the above copyright notice,
  19. * this list of conditions and the following disclaimer.
  20. * - Redistributions in binary form must reproduce the above copyright
  21. * notice, this list of conditions and the following disclaimer in the
  22. * documentation and/or other materials provided with the distribution.
  23. * - Neither the name(s) of Matthew Wilson and Synesis Software nor the
  24. * names of any contributors may be used to endorse or promote products
  25. * derived from this software without specific prior written permission.
  26. *
  27. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  28. * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  29. * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  30. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  31. * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  32. * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  33. * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  34. * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  35. * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  36. * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  37. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  38. *
  39. * ////////////////////////////////////////////////////////////////////// */
  40. /** \file stlsoft/error/exceptions.hpp
  41. *
  42. * \brief [C++ only] Obsolete header for common exception classes.
  43. * (\ref group__library__error "Error" Library).
  44. */
  45. #ifndef STLSOFT_INCL_STLSOFT_ERROR_HPP_EXCEPTIONS
  46. #define STLSOFT_INCL_STLSOFT_ERROR_HPP_EXCEPTIONS
  47. #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
  48. # define STLSOFT_VER_STLSOFT_ERROR_HPP_EXCEPTIONS_MAJOR 5
  49. # define STLSOFT_VER_STLSOFT_ERROR_HPP_EXCEPTIONS_MINOR 0
  50. # define STLSOFT_VER_STLSOFT_ERROR_HPP_EXCEPTIONS_REVISION 1
  51. # define STLSOFT_VER_STLSOFT_ERROR_HPP_EXCEPTIONS_EDIT 50
  52. #endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
  53. /* /////////////////////////////////////////////////////////////////////////
  54. * Includes
  55. */
  56. #ifndef STLSOFT_INCL_STLSOFT_H_STLSOFT
  57. # include <stlsoft/stlsoft.h>
  58. #endif /* !STLSOFT_INCL_STLSOFT_H_STLSOFT */
  59. #ifndef STLSOFT_INCL_STLSOFT_ERROR_HPP_OS_EXCEPTION
  60. # include <stlsoft/error/os_exception.hpp>
  61. #endif /* !STLSOFT_INCL_STLSOFT_ERROR_HPP_OS_EXCEPTION */
  62. #ifndef STLSOFT_INCL_STLSOFT_ERROR_HPP_PROJECT_EXCEPTION
  63. # include <stlsoft/error/project_exception.hpp>
  64. #endif /* !STLSOFT_INCL_STLSOFT_ERROR_HPP_PROJECT_EXCEPTION */
  65. #ifndef STLSOFT_INCL_STLSOFT_ERROR_HPP_THROW_POLICIES
  66. # include <stlsoft/error/throw_policies.hpp>
  67. #endif /* !STLSOFT_INCL_STLSOFT_ERROR_HPP_THROW_POLICIES */
  68. /* ////////////////////////////////////////////////////////////////////// */
  69. #endif /* !STLSOFT_INCL_STLSOFT_ERROR_HPP_EXCEPTIONS */
  70. /* ///////////////////////////// end of file //////////////////////////// */