tclap: TCLAP::SpecificationException Class Reference

Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

# TCLAP::SpecificationException Class Reference

Thrown from Arg and CmdLine when an Arg is improperly specified, e.g. More...

`#include <ArgException.h>`

Inheritance diagram for TCLAP::SpecificationException:

[legend]
Collaboration diagram for TCLAP::SpecificationException:

[legend]
List of all members.

## Public Member Functions
| SpecificationException (const std::string &text="undefined exception", const std::string &id="undefined")
| Constructor.

## Detailed Description

Thrown from Arg and CmdLine when an Arg is improperly specified, e.g.

same flag as another Arg, same name, etc.

Definition at line 167 of file ArgException.h.

## Constructor & Destructor Documentation

TCLAP::SpecificationException::SpecificationException | ( | const std::string & | text = `"undefined exception"`,
|  | const std::string & | id = `"undefined"`
| ) | `[inline]`

  | Constructor. Parameters:
  | text | - The text of the exception.
  | id | - The text identifying the argument source of the exception.
Definition at line 176 of file ArgException.h.

The documentation for this class was generated from the following file:

- ArgException.h