IndexOutOfBoundsException.hpp 846 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-10
  6. * Changed: 2024-05-25
  7. *
  8. * */
  9. #ifndef LS_STD_INDEX_OUT_OF_BOUNDS_EXCEPTION_HPP
  10. #define LS_STD_INDEX_OUT_OF_BOUNDS_EXCEPTION_HPP
  11. #include <ls-std/core/exception/Exception.hpp>
  12. #include <ls-std/os/dynamic-goal.hpp>
  13. #include <string>
  14. /*
  15. * @class(name: 'IndexOutOfBoundsException', package: 'core')
  16. * */
  17. namespace ls::std::core
  18. {
  19. class LS_STD_DYNAMIC_GOAL IndexOutOfBoundsException : public ls::std::core::Exception
  20. {
  21. public:
  22. IndexOutOfBoundsException();
  23. explicit IndexOutOfBoundsException(const ::std::string &_message);
  24. ~IndexOutOfBoundsException() noexcept override;
  25. [[nodiscard]] const char *what() const noexcept override;
  26. };
  27. }
  28. #endif