Class SpecificationException

Inheritance Relationships

Base Type

Class Documentation

class SpecificationException : public ecl::ArgException

Defines the exception that is thrown whenever a conflict in arguments occurs.

Thrown from Arg and CmdLine when an Arg is improperly specified, e.g. same flag as another Arg, same name, etc.

Public Functions

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