Public Member Functions | Public Attributes

cmtk::CommandLine::Exception Class Reference

Exception for parser error reporting. More...

#include <cmtkCommandLine.h>

Collaboration diagram for cmtk::CommandLine::Exception:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Exception (const char *message=NULL, const size_t index=0)
 Constructor.
 Exception (const std::string &message, const size_t index=0)
 Constructor.

Public Attributes

std::string Message
 The error message describing the parsing condition.
size_t Index
 The parameter index where the condition occured.

Detailed Description

Exception for parser error reporting.

Definition at line 202 of file cmtkCommandLine.h.


Constructor & Destructor Documentation

cmtk::CommandLine::Exception::Exception ( const char *  message = NULL,
const size_t  index = 0 
) [inline]

Constructor.

Definition at line 206 of file cmtkCommandLine.h.

cmtk::CommandLine::Exception::Exception ( const std::string &  message,
const size_t  index = 0 
) [inline]

Constructor.

Definition at line 211 of file cmtkCommandLine.h.


Member Data Documentation

The parameter index where the condition occured.

Definition at line 219 of file cmtkCommandLine.h.

Referenced by cmtk::operator<<().

The error message describing the parsing condition.

Definition at line 216 of file cmtkCommandLine.h.

Referenced by cmtk::operator<<().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines