Thrown when A memory allocation was attempted and failed. More...
#include <exception.h>
Public Member Functions | |
OutOfMemoryException (const String &TypeName, const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
Class constructor. More... | |
OutOfMemoryException (const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
Class 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 &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
Class constructor. More... | |
MemoryManagementException (const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
Class constructor. More... | |
virtual | ~MemoryManagementException () throw () |
Class destructor. | |
Public Member Functions inherited from Mezzanine::Exception | |
Exception (const String &TypeName, const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
Simple Constructor. More... | |
virtual | ~Exception () throw () |
Class destructor. | |
String | GetCompleteMessage () const throw () |
Constructs the complete message from all the information provided about the exception. More... | |
ConstString & | GetExceptionTypeName () const throw () |
Gets the name of the exception type. More... | |
ConstString & | GetFile () const throw () |
Gets the file of the exception. More... | |
ConstString & | GetFunction () const throw () |
Gets the function of the exception. More... | |
const Whole & | GetLine () const throw () |
Gets the line number of the exception. More... | |
virtual String | what () throw () |
Retrieves the error message. More... | |
Static Public Attributes | |
static const Whole | ExceptionCode = Exception::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 = Exception::MM_EXCEPTION |
Thrown when an unknown memory management exception occurs. | |
Thrown when A memory allocation was attempted and failed.
Definition at line 1211 of file exception.h.
|
inline |
Class constructor.
TypeName | The name of this class. |
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 1223 of file exception.h.
|
inline |
Class 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 1232 of file exception.h.
|
inlinevirtual |
Gets the exception code for this exception.
Reimplemented from Mezzanine::MemoryManagementException.
Definition at line 1240 of file exception.h.