#include <MaxExceptions.h>
Base exception class for 3ds Max.
This serves as a base class for other exception classes. Instances of this class own and make their own copies of the error message.
Public Member Functions |
|
Exception (const MCHAR *message) | |
String constructor with a specific message.
|
|
Exception (const Exception &) | |
Copy Constructor. |
|
Exception & | operator= (const Exception &) |
Assignment operator. |
|
virtual | ~Exception () |
Destructor. |
|
virtual const MCHAR * | What () const |
Returns the message of the exception.
|
|
Protected Member Functions |
|
Exception () | |
Default constructor. |
|
Protected Attributes |
|
MCHAR * | mMessage |
The error message. This memory is owned by
an instance of this class. |
Exception | ( | const MCHAR * | message | ) | [explicit] |
String constructor with a specific message.
virtual ~Exception | ( | ) | [virtual] |
Destructor.
Exception | ( | ) | [protected] |
Default constructor.
virtual const MCHAR* What | ( | ) | const [virtual] |
Returns the message of the exception.
Reimplemented in TabOutOfRangeException, OutOfRangeException, NullDereferenceException, and RunTimeException.
MCHAR*
mMessage [protected] |
The error message. This memory is owned by an instance of this class.