1 #ifndef __COMMAND_EXCEPTION_OPTION_VALUE_NOT_SPECIFIED_H
2 #define __COMMAND_EXCEPTION_OPTION_VALUE_NOT_SPECIFIED_H
10 * Exception thrown when Option should have value, but no equal sign specifying
13 class OptionValueNotSpecified : public std::invalid_argument {
16 explicit OptionValueNotSpecified(const std::string& what_arg) :
17 std::invalid_argument(what_arg) { }
20 explicit OptionValueNotSpecified(const char* what_arg) :
21 std::invalid_argument(what_arg) { }
26 #endif /* __COMMAND_EXCEPTION_OPTION_VALUE_NOT_SPECIFIED_H */