#include <Exception.hpp>
Public Member Functions | |
| MemoryException (const char *file, int line, const char *msg, int errorCode=::BLOCXX_NAMESPACE::Exception::UNKNOWN_ERROR_CODE, const Exception *otherException=0, int subClassId=::BLOCXX_NAMESPACE::Exception::UNKNOWN_SUBCLASS_ID) | |
| virtual | ~MemoryException () throw () |
| virtual const char * | type () const |
| virtual MemoryException * | clone () const |
| virtual void | rethrow () const |
A MemoryException happens during the allocation of memory. If you call malloc or new and the result is 0 you have to throw a MemoryException.
| limal::MemoryException::MemoryException | ( | const char * | file, | |
| int | line, | |||
| const char * | msg, | |||
| int | errorCode = ::BLOCXX_NAMESPACE::Exception::UNKNOWN_ERROR_CODE, |
|||
| const Exception * | otherException = 0, |
|||
| int | subClassId = ::BLOCXX_NAMESPACE::Exception::UNKNOWN_SUBCLASS_ID | |||
| ) |
| virtual limal::MemoryException::~MemoryException | ( | ) | throw () [virtual] |
| virtual const char* limal::MemoryException::type | ( | ) | const [virtual] |
| virtual MemoryException* limal::MemoryException::clone | ( | ) | const [virtual] |
| virtual void limal::MemoryException::rethrow | ( | ) | const [virtual] |
1.5.5