Exception.hpp 450 B

12345678910111213141516171819202122
  1. ///
  2. /// \file Archive/Exception.hpp
  3. ///
  4. /// Exceptions thrown by the Archive methods.
  5. ///
  6. /// \copyright
  7. /// Copyright (c) 2016-2016 Josh Blum
  8. /// SPDX-License-Identifier: BSL-1.0
  9. ///
  10. #pragma once
  11. #include <Pothos/Config.hpp>
  12. #include <Pothos/Exception.hpp>
  13. namespace Pothos {
  14. /*!
  15. * An ArchiveException is thrown when an archive operation fails.
  16. */
  17. POTHOS_DECLARE_EXCEPTION(POTHOS_API, ArchiveException, RuntimeException);
  18. } //namespace Pothos