Jpp
Public Member Functions | Private Attributes | List of all members
JLANG::JDictionaryEntryNotFound Class Reference

Exception for missing entry in dictionary. More...

#include <JException.hh>

Inheritance diagram for JLANG::JDictionaryEntryNotFound:
JLANG::JException

Public Member Functions

 JDictionaryEntryNotFound (const std::string &error)
 Constructor. More...
 
virtual const char * what () const throw ()
 Get error message. More...
 

Private Attributes

const std::string buffer
 

Detailed Description

Exception for missing entry in dictionary.

Definition at line 558 of file JException.hh.

Constructor & Destructor Documentation

◆ JDictionaryEntryNotFound()

JLANG::JDictionaryEntryNotFound::JDictionaryEntryNotFound ( const std::string &  error)
inline

Constructor.

Parameters
errorerror message

Definition at line 567 of file JException.hh.

567  :
568  JException(error)
569  {}

Member Function Documentation

◆ what()

virtual const char* JLANG::JException::what ( ) const
throw (
)
inlinevirtualinherited

Get error message.

Returns
error message

Definition at line 65 of file JException.hh.

66  {
67  return buffer.c_str();
68  }

Member Data Documentation

◆ buffer

const std::string JLANG::JException::buffer
privateinherited

Definition at line 83 of file JException.hh.


The documentation for this class was generated from the following file:
JLANG::JException::JException
JException(const std::string &error)
Constructor.
Definition: JException.hh:47
JLANG::JException::buffer
const std::string buffer
Definition: JException.hh:83