BlitzMax Extended  0.8.19
Pushing Blitz to the Max.
Data Structures | Functions
blitz_runtimeexception.h File Reference

Exception concerning errors notices at runtime. More...

#include "blitz_blitzexception.h"

Go to the source code of this file.

Data Structures

struct  BBRuntimeException
 Thrown in case an exceptional event is discovered at runtime. More...

Functions

BBString * bbRuntimeExceptionToString (const BBRuntimeException *ex)
 Gives the message of the runtime exception.
BBRuntimeException * bbRuntimeExceptionCreate (BBString *message, BBException *cause)
 Creates a new runtime exception object.
void bbRuntimeError (BBString *message)
 Throws a BBRuntimeExeption with the given message.

Detailed Description

Exception concerning errors notices at runtime.

Author:
Fabian Niemann

Function Documentation

void bbRuntimeError ( BBString *  message)

Throws a BBRuntimeExeption with the given message.

Parameters:
messageThe error message to display
BBRuntimeException* bbRuntimeExceptionCreate ( BBString *  message,
BBException *  cause 
)

Creates a new runtime exception object.

Parameters:
messageA description of the error
causeThe exception that initially caused the problem
BBString* bbRuntimeExceptionToString ( const BBRuntimeException *  ex)

Gives the message of the runtime exception.