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

Exception for failure of memory allocation. More...

#include <JException.hh>

Inheritance diagram for JLANG::JMallocException:
JLANG::JException

Public Member Functions

 JMallocException (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 270 of file JException.hh.

Constructor & Destructor Documentation

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

Constructor.

Parameters
errorerror message

Definition at line 279 of file JException.hh.

279  :
280  JException(error)
281  {}
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: