Public Member Functions | |
| Exception (const Exception &other) | |
| Creates an exception as a copy of the given other exception. | |
| Exception (const char *msg1, const char *msg2=NULL, bool forceTrace=false) | |
| virtual const char * | getMessage () const |
| Returns the message pointer. | |
| virtual const char * | getName () const |
| Return the name of this exception type. | |
| virtual size_t | getStackTrace (char *buffer, size_t maxLength) const |
| On some platforms, get a stacktrace string from the location the exception was created. | |
| virtual void | printStackTrace () const |
| On some platforms, print a stacktrace from the location the exception was created. | |
| virtual void | showMessage () const |
| Show the message pointer. | |
| virtual | ~Exception () |
| gemfire::Exception::Exception | ( | const char * | msg1, | |
| const char * | msg2 = NULL, |
|||
| bool | forceTrace = false | |||
| ) |
public methods Creates an exception.
| msg1 | message pointer, this is copied into the exception. | |
| msg2 | optional extra message pointer, appended to msg1. | |
| forceTrace | enables a stacktrace for this exception regardless of stacktrace-enabled system property. |
| gemfire::Exception::Exception | ( | const Exception & | other | ) |
Creates an exception as a copy of the given other exception.
| other | the original exception. |
| virtual gemfire::Exception::~Exception | ( | ) | [virtual] |
destructor
| virtual const char* gemfire::Exception::getMessage | ( | ) | const [virtual] |
Returns the message pointer.
| virtual const char* gemfire::Exception::getName | ( | ) | const [virtual] |
Return the name of this exception type.
| virtual size_t gemfire::Exception::getStackTrace | ( | char * | buffer, | |
| size_t | maxLength | |||
| ) | const [virtual] |
On some platforms, get a stacktrace string from the location the exception was created.
| virtual void gemfire::Exception::printStackTrace | ( | ) | const [virtual] |
On some platforms, print a stacktrace from the location the exception was created.
| virtual void gemfire::Exception::showMessage | ( | ) | const [virtual] |
Show the message pointer.