Thrown when A memory allocation was attempted and failed. More...
#include <exception.h>
Public Member Functions | |
OutOfMemoryException (const String &TypeName, const String &JavaTypeName, const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
OutOfMemoryException Name overwriting constructor. More... | |
OutOfMemoryException (const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
OutOfMemoryException constructor. More... | |
virtual | ~OutOfMemoryException () throw () |
Class destructor. | |
virtual Whole | GetExceptionCode () const throw () |
Gets the exception code for this exception. More... | |
Public Member Functions inherited from Mezzanine::MemoryManagementException | |
MemoryManagementException (const String &TypeName, const String &JavaTypeName, const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
MemoryManagementException Name overwriting constructor. More... | |
MemoryManagementException (const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
MemoryManagementException constructor. More... | |
virtual | ~MemoryManagementException () throw () |
Class destructor. | |
Public Member Functions inherited from Mezzanine::ExceptionBase | |
ExceptionBase (const Mezzanine::String &TypeName, const Mezzanine::String &JavaTypeName, const Mezzanine::String &Message, const Mezzanine::String &SrcFunction, const Mezzanine::String &SrcFile, const Mezzanine::Whole &FileLine) | |
Simple Constructor. More... | |
virtual | ~ExceptionBase () throw () |
Class destructor. | |
Mezzanine::String | GetCompleteMessage () const throw () |
Constructs the complete message from all the information provided about the exception. More... | |
const Mezzanine::String & | GetExceptionJavaTypeName () const throw () |
Gets the name of the exception type. More... | |
const Mezzanine::String & | GetExceptionTypeName () const throw () |
Gets the name of the exception type. More... | |
const Mezzanine::String & | GetFile () const throw () |
Gets the file of the exception. More... | |
const Mezzanine::String & | GetFunction () const throw () |
Gets the function of the exception. More... | |
const Mezzanine::Whole & | GetLine () const throw () |
Gets the line number of the exception. More... | |
virtual const char * | what () const throw () |
Retrieves the error message. More... | |
Static Public Attributes | |
static const Whole | ExceptionCode = MemoryManagementException::MM_OUT_OF_MEMORY_EXCEPTION |
Thrown when A memory allocation was attempted and failed. | |
Static Public Attributes inherited from Mezzanine::MemoryManagementException | |
static const Whole | ExceptionCode = ExceptionBase::MM_EXCEPTION |
Thrown when an unknown memory management exception occurs. | |
Thrown when A memory allocation was attempted and failed.
When catching this in java look for java.lang.XXXXX
Definition at line 1687 of file exception.h.
|
inline |
OutOfMemoryException Name overwriting constructor.
TypeName | The name of this class. |
JavaTypeName | When passed to Java what does this convert to? |
Message | A basic description of the error. |
SrcFunction | The name of the function from which this originated. |
SrcFile | The name of the file from which this originated. |
FileLine | The line on the named file from which this originated. |
Definition at line 1701 of file exception.h.
|
inline |
OutOfMemoryException constructor.
Message | A basic description of the error. |
SrcFunction | The name of the function from which this originated. |
SrcFile | The name of the file from which this originated. |
FileLine | The line on the named file from which this originated. |
Definition at line 1717 of file exception.h.
|
inlinevirtual |
Gets the exception code for this exception.
Reimplemented from Mezzanine::MemoryManagementException.
Definition at line 1728 of file exception.h.