dxFeed Graal Native SDK 3.10.0
Loading...
Searching...
No Matches
dxfg_stack_trace_element_t Struct Reference

An element of the stack trace of an exception: one frame, the same data as a Java StackTraceElement. More...

#include <dxfg_catch_exception.h>

Data Fields

const char * class_name
const char * class_loader_name
const char * file_name
const char * method_name
int32_t line_number
int32_t is_native_method
const char * module_name
const char * module_version

Detailed Description

An element of the stack trace of an exception: one frame, the same data as a Java StackTraceElement.

The structure and its strings belong to the dxfg_exception_t that contains it and are freed with it by dxfg_Exception_release(). A string that the Java side has no value for is NULL.

Javadoc

Field Documentation

◆ class_loader_name

const char* dxfg_stack_trace_element_t::class_loader_name

The name of the class loader of that class, NULL if the class loader has no name.

◆ class_name

const char* dxfg_stack_trace_element_t::class_name

The fully qualified name of the class that contains the execution point (a UTF-8 null-terminated string).

◆ file_name

const char* dxfg_stack_trace_element_t::file_name

The name of the source file of that class, NULL if the information is not available.

◆ is_native_method

int32_t dxfg_stack_trace_element_t::is_native_method

1 if the method is a native method, 0 otherwise.

◆ line_number

int32_t dxfg_stack_trace_element_t::line_number

The line number in the source file, a negative number if the information is not available (-2 for a native method).

◆ method_name

const char* dxfg_stack_trace_element_t::method_name

The name of the method that contains the execution point (a UTF-8 null-terminated string).

◆ module_name

const char* dxfg_stack_trace_element_t::module_name

The name of the module that contains the class, NULL if the class is not in a named module.

◆ module_version

const char* dxfg_stack_trace_element_t::module_version

The version of that module, NULL if the module has no version.


The documentation for this struct was generated from the following file: