xTitan
All Classes Functions Groups
Public Member Functions | List of all members
xtitan::KeyError Class Reference

Hash key error class. More...

Inheritance diagram for xtitan::KeyError:
xtitan::BasicError

Public Member Functions

 KeyError (const char *message)
 Create exception with message. More...
 
 KeyError (const wchar_t *message)
 Create exception with message. More...
 
 KeyError (const std::string &message)
 Create exception with message. More...
 
 KeyError (const std::wstring &message)
 Create exception with message. More...
 
 KeyError (const QString &message)
 Create exception with message. More...
 
- Public Member Functions inherited from xtitan::BasicError
 BasicError (const char *message)
 Create exception with message. More...
 
 BasicError (const wchar_t *message)
 Create exception with message. More...
 
 BasicError (const std::string &message)
 Create exception with message. More...
 
 BasicError (const std::wstring &message)
 Create exception with message. More...
 
 BasicError (const QString &message)
 Create exception with message. More...
 
virtual ~BasicError () throw ()
 Destructor.
 
const QString & getMessage () const
 Get error message. More...
 
virtual const char * what () const throw ()
 Get error message. More...
 

Detailed Description

Hash key error class.

This exception throws when a key does not exists in a hash.

Constructor & Destructor Documentation

KeyError::KeyError ( const char *  message)
explicit

Create exception with message.

Parameters
[in]messageerror message

message should encode to UTF-8.

KeyError::KeyError ( const wchar_t *  message)
explicit

Create exception with message.

Parameters
[in]messageerror message
KeyError::KeyError ( const std::string &  message)
explicit

Create exception with message.

Parameters
[in]messageerror message

message should encode to UTF-8

KeyError::KeyError ( const std::wstring &  message)
explicit

Create exception with message.

Parameters
[in]messageerror message
KeyError::KeyError ( const QString &  message)
explicit

Create exception with message.

Parameters
[in]messageerror message

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