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