TAP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
TAP::unknown_argument Class Reference

Exception class raised when an unknown argument is encountered. More...

#include <Exceptions.hpp>

Inheritance diagram for TAP::unknown_argument:
TAP::command_error TAP::exception

Public Member Functions

 unknown_argument ()
 Creates the exception for positional arguments.
 
 unknown_argument (char flag)
 Creates the exception for flag arguments. More...
 
 unknown_argument (std::string name)
 Creates the exception for name arguments. More...
 
- Public Member Functions inherited from TAP::exception
 exception (std::string what)
 Creates the exception with the given message. More...
 
 exception ()
 Creates the exception with no message.
 
const char * what () const noexceptoverride
 See std::exception::what().
 

Additional Inherited Members

- Protected Attributes inherited from TAP::exception
std::string m_what
 Description of the exception. More...
 

Detailed Description

Exception class raised when an unknown argument is encountered.

Constructor & Destructor Documentation

TAP::unknown_argument::unknown_argument ( char  flag)
inline

Creates the exception for flag arguments.

Parameters
flagThe unknown flag
TAP::unknown_argument::unknown_argument ( std::string  name)
inline

Creates the exception for name arguments.

Parameters
nameThe unknown name

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