MemoryException class declaration.
More...
#include <Exception.hpp>
|
| Exception (const char *file, int line, const char *msg, int errorCode, const Exception *otherException=0) |
|
MemoryException class declaration.
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.
ca_mgm::MemoryException::MemoryException |
( |
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
msg, |
|
|
int |
errorCode = 0 , |
|
|
const ca_mgm::Exception * |
otherException = 0 |
|
) |
| |
virtual ca_mgm::MemoryException::~MemoryException |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
virtual const char* ca_mgm::MemoryException::type |
( |
| ) |
const |
|
virtual |
Returns a string representing the concrete type. e.g. "SocketException". Will not return 0. This function will not throw. Derived class implementations must not throw.
Reimplemented from ca_mgm::Exception.
The documentation for this class was generated from the following file: