VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
DtCmdLine::SpecificationException Class Reference

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

+ Inheritance diagram for DtCmdLine::SpecificationException:
+ Collaboration diagram for DtCmdLine::SpecificationException:

Public Member Functions

 SpecificationException (const std::string &text="undefined exception", const std::string &id="undefined")
 Constructor. More...
 
- Public Member Functions inherited from DtCmdLine::ArgException
 ArgException (const std::string &text="undefined exception", const std::string &id="undefined", const std::string &td="Generic ArgException")
 Constructor. More...
 
virtual ~ArgException () throw ()
 Destructor. More...
 
std::string error () const
 Returns the error text. More...
 
std::string argId () const
 Returns the argument id. More...
 
const char * what () const throw ()
 Returns the arg id and error text. More...
 
std::string typeDescription () const
 Returns the type of the exception. More...
 

Detailed Description

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

same flag as another Arg, same name, etc.

Constructor & Destructor Documentation

DtCmdLine::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.

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

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)