9#ifndef DXFG_CATCH_EXCEPTION_H
10#define DXFG_CATCH_EXCEPTION_H
123DXFG_DEPRECATED(
"use dxfg_v4_get_and_clear_thread_exception()")
139DXFG_DEPRECATED(
"use dxfg_v4_Exception_release()")
dxFeed Graal Native SDK Common declarations
The functions of GraalVM that create, attach to and tear down an isolate, the instance of the SDK in ...
struct __graal_isolatethread_t graal_isolatethread_t
The state of one thread attached to an isolate: the first parameter (thread) of the SDK functions.
Definition graal_isolate.h:60
dxfg_exception_t * dxfg_get_and_clear_thread_exception_t(graal_isolatethread_t *thread)
Returns the exception of the last failed function call of the calling thread and clears it.
void dxfg_Exception_release(graal_isolatethread_t *thread, dxfg_exception_t *exception)
Releases an exception that was returned by dxfg_get_and_clear_thread_exception_t().
An exception that was thrown by the Java side: the class, the message, the stack trace and the cause.
Definition dxfg_catch_exception.h:83
const char * message
Definition dxfg_catch_exception.h:88
dxfg_stack_trace_element_list * stack_trace
Definition dxfg_catch_exception.h:97
const char * print_stack_trace
Definition dxfg_catch_exception.h:94
struct dxfg_exception_t * cause
Definition dxfg_catch_exception.h:99
const char * class_name
Definition dxfg_catch_exception.h:86
The stack trace of an exception: a list of its frames, the innermost call first.
Definition dxfg_catch_exception.h:67
int32_t size
Definition dxfg_catch_exception.h:69
dxfg_stack_trace_element_t ** elements
Definition dxfg_catch_exception.h:71
An element of the stack trace of an exception: one frame, the same data as a Java StackTraceElement.
Definition dxfg_catch_exception.h:42
const char * class_loader_name
Definition dxfg_catch_exception.h:46
const char * file_name
Definition dxfg_catch_exception.h:48
const char * method_name
Definition dxfg_catch_exception.h:50
const char * module_version
Definition dxfg_catch_exception.h:59
int32_t is_native_method
Definition dxfg_catch_exception.h:55
const char * class_name
Definition dxfg_catch_exception.h:44
int32_t line_number
Definition dxfg_catch_exception.h:53
const char * module_name
Definition dxfg_catch_exception.h:57