IllegalOperationException.hpp 518 B

12345678910111213141516171819202122232425
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-07
  6. * Changed: 2020-08-07
  7. *
  8. * */
  9. #ifndef ILLEGAL_OPERATION_EXCEPTION_HPP
  10. #define ILLEGAL_OPERATION_EXCEPTION_HPP
  11. #include <exception>
  12. namespace ls_std {
  13. class IllegalOperationException : public std::exception {
  14. public:
  15. const char *what() const noexcept override {
  16. return "operation is not valid...";
  17. }
  18. };
  19. }
  20. #endif