![]() |
BlitzMax Extended
0.8.11
Pushing Blitz to the Max.
|
Base for all exceptions. More...
#include <blitz_exception.h>
Data Fields | |
BBClass * | clas |
The exception's clas. | |
int | refs |
The number of times an instance is currently used. | |
BBException * | cause |
The cause of the exception. |
Base for all exceptions.
Although any object can be thrown as an exception, extending this base exception gives you the advantage of a common interface as well as the possiblity to trace back a chain of exceptions that caused each other.
The cause of the exception.
The cause is a previous exception that caused this one to be thrown. If there is no such exception, this must be BBNULL.
Reimplemented in BBBlitzException, BBNullObjectException, BBArrayBoundsException, BBNullFunctionException, BBNullMethodException, BBOutOfDataException, and BBRuntimeException.
Referenced by bbExceptionGetCause(), and bbExceptionInitCause().
The exception's clas.
This should always point to a class that extends bbExceptionClass.
Reimplemented from BBObject.
Reimplemented in BBBlitzException, BBNullObjectException, BBArrayBoundsException, BBNullFunctionException, BBNullMethodException, BBOutOfDataException, and BBRuntimeException.
The number of times an instance is currently used.
Reimplemented from BBObject.
Reimplemented in BBBlitzException, BBNullObjectException, BBArrayBoundsException, BBNullFunctionException, BBNullMethodException, BBOutOfDataException, and BBRuntimeException.