Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JLANG::JNewException Class Reference

Exception for failure of memory allocation. More...

#include <JException.hh>

Inheritance diagram for JLANG::JNewException:
JLANG::JException

Public Member Functions

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

Detailed Description

Exception for failure of memory allocation.

Definition at line 288 of file JException.hh.

Constructor & Destructor Documentation

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

Constructor.

Parameters
errorerror message

Definition at line 297 of file JException.hh.

297  :
298  JException(error)
299  {}
JException(const std::string &error)
Constructor.
Definition: JException.hh:47

Member Function Documentation

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  }
const std::string buffer
Definition: JException.hh:83

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