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::CmdLineParseException Class Reference

Thrown from CmdLine when the arguments on the command line are not properly specified, e.g. More...

+ Inheritance diagram for DtCmdLine::CmdLineParseException:
+ Collaboration diagram for DtCmdLine::CmdLineParseException:

Public Member Functions

 CmdLineParseException (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 CmdLine when the arguments on the command line are not properly specified, e.g.

too many arguments, required argument missing, etc.

Constructor & Destructor Documentation

DtCmdLine::CmdLineParseException::CmdLineParseException ( 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 Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)