BlitzMax Extended  0.8.16
Pushing Blitz to the Max.
Data Structures | Functions
blitz_nullobjectexception.h File Reference

Exception concerning the use of uninitialized (NULL) objects. More...

#include "blitz_blitzexception.h"

Go to the source code of this file.

Data Structures

struct  BBNullObjectException
 Thrown in case of an attempt to use an uninitialized object. More...

Functions

BBStringbbNullObjectExceptionToString (const BBNullObjectException *ex)
 Returns the error message.
BBNullObjectExceptionbbNullObjectExceptionCreate ()
 Creates a new NullObject exception.
void bbNullObjectError ()
 Throws a BBNullObjectException.

Detailed Description

Exception concerning the use of uninitialized (NULL) objects.

Author:
Fabian Niemann

Function Documentation

void bbNullObjectError ( )

Throws a BBNullObjectException.

This throws a newly created BBNullObjectException. Equivalent to

bbExThrow(bbNullObjectExceptionCreate());
BBNullObjectException* bbNullObjectExceptionCreate ( )

Creates a new NullObject exception.

Returns:
A new BBNullObjectException object
BBString* bbNullObjectExceptionToString ( const BBNullObjectException ex)

Returns the error message.

Returns:
"Attempt to access field or method of Null object"