BlitzMax Extended  0.8.16
Pushing Blitz to the Max.
Data Fields
BBBlitzException Struct Reference

Base object for all of BlitzMax' intern exceptions. More...

#include <blitz_blitzexception.h>

+ Inheritance diagram for BBBlitzException:

Data Fields

BBClassclas
 The intern BlitzMax exception's class.
int refs
 The number of times an instance is currently used.
BBExceptioncause
 The cause of the exception.
- Data Fields inherited from BBException
- Data Fields inherited from BBObject

Detailed Description

Base object for all of BlitzMax' intern exceptions.


Field Documentation

BBException* BBBlitzException::cause

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.

See also:
bbExceptionGetCause, bbExceptionInitCause

Reimplemented from BBException.

Reimplemented in BBNullObjectException, BBArrayBoundsException, BBNullFunctionException, BBNullMethodException, and BBOutOfDataException.

BBClass* BBBlitzException::clas

The intern BlitzMax exception's class.

This should always point to a class extending bbBlitzExceptionClass.

Reimplemented from BBException.

Reimplemented in BBNullObjectException, BBArrayBoundsException, BBNullFunctionException, BBNullMethodException, and BBOutOfDataException.

int BBBlitzException::refs

The number of times an instance is currently used.

Note:
Only used in single-threaded mode (by the reference-counting GC).
Warning:
Do not change or read this manually, as it is controlled be the runtime.

Reimplemented from BBException.

Reimplemented in BBNullObjectException, BBArrayBoundsException, BBNullFunctionException, BBNullMethodException, and BBOutOfDataException.