[Home] [Prev] [Next] [Up]
XAbort class
Abstract error reporting class
Usage:
#include <XError.h>
class XAbort;
Description
This class provides a simple way to abort an operation and use the default error mechanism to unwind the stack, but not present an error report.
This should be used by simply throwing the class:
throw XAbort;
Construction/Destruction Methods
XAbort::XAbort()
Default constructor does nothing but serves as a placeholder.
XAbort::~XAbort()
Default destructor does nothing but serves as a placeholder.
Error reporting
void XAbort::DisplayError(void)
This method does nothing. Nothing is the appropriate thing to do when an operation is aborted.