Class ArgParseException

Inheritance Relationships

Base Type

Class Documentation

class ArgParseException : public ecl::ArgException

Defines the exception that is thrown when an argument is improperly parsed.

Thrown from within the child Arg classes when it fails to properly parse the argument it has been passed.

Public Functions

inline ArgParseException(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.