1 #ifndef __COMMAND_EXCEPTION_MISSING_REQUIRED_PARAMETER_H
2 #define __COMMAND_EXCEPTION_MISSING_REQUIRED_PARAMETER_H
10 * Exception thrown when required argument was not set
12 class MissingRequiredParameter : public std::logic_error {
15 explicit MissingRequiredParameter(const std::string& what_arg) :
16 std::logic_error(what_arg) { }
19 explicit MissingRequiredParameter(const char* what_arg) :
20 std::logic_error(what_arg) { }
25 #endif /* __COMMAND_EXCEPTION_MISSING_REQUIRED_PARAMETER_H */