VR-Link API Documentation for DIS
List of all members | Public Member Functions
DtCmdLine::ArgParseException Class Reference

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

+ Inheritance diagram for DtCmdLine::ArgParseException:
+ Collaboration diagram for DtCmdLine::ArgParseException:

Public Member Functions

 ArgParseException (const std::string &text="undefined exception", const std::string &id="undefined")
 Constructor.
- 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.
virtual ~ArgException () throw ()
 Destructor.
std::string error () const
 Returns the error text.
std::string argId () const
 Returns the argument id.
const char * what () const throw ()
 Returns the arg id and error text.
std::string typeDescription () const
 Returns the type of the exception.

Detailed Description

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

Constructor & Destructor Documentation

DtCmdLine::ArgParseException::ArgParseException ( 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 Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)