123456789101112131415161718192021222324252627 |
- #ifndef LS_STD_ILLEGAL_OPERATION_EXCEPTION_HPP
- #define LS_STD_ILLEGAL_OPERATION_EXCEPTION_HPP
- #include <exception>
- namespace ls_std {
- class IllegalArithmeticOperationException : public std::exception {
- public:
- IllegalArithmeticOperationException() = default;
- const char *what() const noexcept override {
- return "IllegalArithmeticOperationException thrown - arithmetic operation is not valid!";
- }
- };
- }
- #endif
|