1 #ifndef __COMMAND_EXCEPTION_MISSING_OPTION_VALUE_H
2 #define __COMMAND_EXCEPTION_MISSING_OPTION_VALUE_H
10 * Exception thrown used when Option should have value, but no one has been set
12 class MissingOptionValue : public std::invalid_argument {
15 explicit MissingOptionValue(const std::string& what_arg) :
16 std::invalid_argument(what_arg) { }
19 explicit MissingOptionValue(const char* what_arg) :
20 std::invalid_argument(what_arg) { }
25 #endif /* __COMMAND_EXCEPTION_MISSING_OPTION_VALUE_H */