dxFeed Graal Native SDK 3.17.0-rc1
Loading...
Searching...
No Matches
dxfg_v4_catch_exception.h
Go to the documentation of this file.
1// Copyright (c) 2026 Devexperts LLC.
2// SPDX-License-Identifier: MPL-2.0
3
8
9#ifndef DXFG_V4_CATCH_EXCEPTION_H
10#define DXFG_V4_CATCH_EXCEPTION_H
11
13#include "dxfg_v4_common.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
25
28
31
34
62 DXFG_OUT dxfg_v4_exception_t **exception);
63
78 // end of V4_Exceptions
80
81#ifdef __cplusplus
82}
83#endif
84
85#endif // DXFG_V4_CATCH_EXCEPTION_H
dxFeed Graal Native SDK Exceptions functions and types declarations
The v4 functions of dxfg_common.h and the v4 names of its types (see the group Common (v4)).
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
#define DXFG_OUT
Definition dxfg_common.h:37
int32_t dxfg_v4_Exception_release(graal_isolatethread_t *thread, dxfg_v4_exception_t *exception)
Releases an exception that was written by dxfg_v4_get_and_clear_thread_exception().
int32_t dxfg_v4_get_and_clear_thread_exception(graal_isolatethread_t *thread, DXFG_OUT dxfg_v4_exception_t **exception)
Writes the exception of the last failed function call of the calling thread and clears it.
dxfg_stack_trace_element_t dxfg_v4_stack_trace_element_t
An element of the stack trace of an exception: one frame, the same data as a Java StackTraceElement.
Definition dxfg_v4_catch_exception.h:27
dxfg_stack_trace_element_list dxfg_v4_stack_trace_element_list
The stack trace of an exception: a list of its frames, the innermost call first.
Definition dxfg_v4_catch_exception.h:30
dxfg_exception_t dxfg_v4_exception_t
An exception that was thrown by the Java side: the class, the message, the stack trace and the cause.
Definition dxfg_v4_catch_exception.h:33
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
The stack trace of an exception: a list of its frames, the innermost call first.
Definition dxfg_catch_exception.h:67
An element of the stack trace of an exception: one frame, the same data as a Java StackTraceElement.
Definition dxfg_catch_exception.h:42