1
1

warning.hh 368 B

1234567891011121314151617181920212223
  1. /**
  2. * warning.hh for jsonstroller
  3. *
  4. * Author: isundil <isundill@gmail.com>
  5. **/
  6. #pragma once
  7. #include "jsonException.hh"
  8. class Warning
  9. {
  10. public:
  11. Warning(const JsonException *);
  12. ~Warning();
  13. const JsonException &operator()() const;
  14. const JsonException *getPtrUnsafe() const;
  15. private:
  16. const JsonException *what;
  17. };