Fairport  v1.0.38
fairport::key_not_found< K > Class Template Reference

The requested key was not found. More...

#include <errors.h>

+ Inheritance diagram for fairport::key_not_found< K >:
+ Collaboration diagram for fairport::key_not_found< K >:

List of all members.

Public Member Functions

 key_not_found (const K &k)
virtual ~key_not_found () throw ()
const char * what () const throw ()
const K & which () const
 Returns the key which was not found.

Detailed Description

template<typename K>
class fairport::key_not_found< K >

The requested key was not found.

Parameters:
KThe key type

Definition at line 95 of file errors.h.


Constructor & Destructor Documentation

template<typename K>
fairport::key_not_found< K >::key_not_found ( const K &  k) [inline, explicit]

Definition at line 98 of file errors.h.

template<typename K>
virtual fairport::key_not_found< K >::~key_not_found ( ) throw () [inline, virtual]

Definition at line 100 of file errors.h.


Member Function Documentation

template<typename K>
const char* fairport::key_not_found< K >::what ( ) const throw () [inline]

Definition at line 102 of file errors.h.

template<typename K>
const K& fairport::key_not_found< K >::which ( ) const [inline]

Returns the key which was not found.

Returns:
The missing key

Definition at line 107 of file errors.h.


The documentation for this class was generated from the following file: