Class CmdLineParseException
Defined in File arg_exception.hpp
Inheritance Relationships
Base Type
public ecl::ArgException
(Class ArgException)
Class Documentation
-
class CmdLineParseException : public ecl::ArgException
Defines the exception when an argument is improperly specified.
Thrown from CmdLine when the arguments on the command line are not properly specified, e.g. too many arguments, required argument missing, etc.
Public Functions
-
inline CmdLineParseException(const std::string &text = "undefined exception", const std::string &id = "undefined")
Constructor.
- Parameters:
text – - The text of the exception.
id – - The text identifying the argument source of the exception.
-
inline CmdLineParseException(const std::string &text = "undefined exception", const std::string &id = "undefined")