Go to the source code of this file.
Defines | |
#define | frdiExceptionArrive(frdi_exception_arg) setjmp((frdi_exception_arg)->location) |
#define | frdiExceptionLeave(frdi_exception_arg, frdi_status_arg) longjmp((frdi_exception_arg)->location, frdi_status_arg) |
Functions | |
char * | frdiStrCpy (frdi_exception *eh, char *in) |
void | frdiExceptionDebug2 (char *filename, int linenum, char *str) |
void | frdiExceptionDebug (char *str) |
int | frdiExceptionReport (frdi_exception *exception) |
void | frdiExceptionThrow (frdi_exception *exception, int err_num, char *message) |
frdi_dict * | frdiExceptionLookupEnglish () |
frdi_exception * | frdiExceptionNew () |
void | frdiExceptionFree (frdi_exception *exception) |
|
say that this is where to come back to in the event of an error |
|
Help! We have encountered an error. Run away! NOTE: this should only be called from or beneath a function that has called Arrive |
|
Copy a string into a newly memory allocated string |
|
send the debug information somewhere appropriate |
|
send the debug information somewhere appropriate
|
|
report an exception. Options are: print it to stderr, log it go to a handler (takes an exception * as void *, returns an int as void *) re-throw to a parent exception Returns an error code |
|
What to use if you have a problem |
|
lookup from error number to english word |
|
create an exception handler |
|
release the object |