home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
kaffe-0.5p4-src.tgz
/
tar.out
/
contrib
/
kaffe
/
kaffevm
/
exception.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-28
|
755b
|
37 lines
/*
* exception.h
*
* Copyright (c) 1996 Systems Architecture Research Centre,
* City University, London, UK.
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
*/
#ifndef __exception_h
#define __exception_h
typedef struct _jexception {
u4 start_pc;
u4 end_pc;
u4 handler_pc;
char* catch_type;
} jexception;
struct _exceptionFrame;
struct _object;
void throwException(struct _object*);
void throwExternalException(struct _object*);
struct _object* buildStackTrace(struct _exceptionFrame*);
#if defined(__WIN32__)
#define SIG_T void(*)()
#else
#define SIG_T void*
#endif
#endif