Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

commandl::matcher_exception Class Reference

This is a base class for matcher-related exceptions. More...

#include <exceptions.hpp>

Inheritance diagram for commandl::matcher_exception:

commandl::exception List of all members.

Public Methods

 matcher_exception (const std::string &what_message)
 Simple constructor for a matcher_exception. More...

 matcher_exception (const std::string &what_message, const std::string &key)
 Constructor for a matcher_exception that includes the key. More...

virtual ~matcher_exception () throw ()
virtual std::string key () const

Protected Attributes

std::string Key
 The key related to this exception. More...


Detailed Description

This is a base class for matcher-related exceptions.


Constructor & Destructor Documentation

commandl::matcher_exception::matcher_exception const std::string &    what_message [inline]
 

Simple constructor for a matcher_exception.

commandl::matcher_exception::matcher_exception const std::string &    what_message,
const std::string &    key
[inline]
 

Constructor for a matcher_exception that includes the key.

matcher_exceptions happen when there are problems with a specific key. This constructor for matcher_exception allows the user to place a copy of the potentially offending key in the exception.

virtual commandl::matcher_exception::~matcher_exception   throw () [inline, virtual]
 


Member Function Documentation

virtual std::string commandl::matcher_exception::key   const [inline, virtual]
 


Member Data Documentation

std::string commandl::matcher_exception::Key [protected]
 

The key related to this exception.


The documentation for this class was generated from the following file:
Generated on Sat Apr 5 21:17:28 2003 for commandl Library by doxygen1.2.15