BlitzMax Extended
0.8.19
Pushing Blitz to the Max.
Main Page
Related Pages
Data Structures
Files
File List
Globals
c
exceptions
blitz_runtimeexception.h
Go to the documentation of this file.
1
8
#ifndef BLITZ_EX_RUNTIMEEXCEPTION_H
9
#define BLITZ_EX_RUNTIMEEXCEPTION_H
10
11
#include "
blitz_blitzexception.h
"
12
13
BB_BEGIN_DECLS
14
19
struct
BBRuntimeException
20
{
21
BBClass
*
clas
;
22
int
refs
;
23
24
BBException
*
cause
;
25
BBString
*message;
26
};
27
28
extern
BBClass
bbRuntimeExceptionClass;
29
30
void
bbRuntimeExceptionCtor(
BBRuntimeException
*ex);
31
void
bbRuntimeExceptionDtor(
BBRuntimeException
*ex);
32
36
BBString
* bbRuntimeExceptionToString(
const
BBRuntimeException
*ex);
37
41
BBRuntimeException
* bbRuntimeExceptionClone(
const
BBRuntimeException
*ex);
42
43
// API
44
48
BBString
* bbRuntimeExceptionGetMessage(
const
BBRuntimeException
*ex);
49
55
BBRuntimeException
* bbRuntimeExceptionCreate(
BBString
*message,
BBException
*cause);
56
57
#define bbRuntimeError brl_blitz_RuntimeError
58
63
void
bbRuntimeError
(
BBString
*message);
64
65
BB_END_DECLS
66
67
#endif // BLITZ_EX_RUNTIMEEXCEPTION_H
Generated on Wed Oct 24 2012 17:16:00 for BlitzMax Extended by
1.8.1.1