Table of Contents

Class JavaException

Namespace
DxFeed.Graal.Net.Native.ErrorHandling
Assembly
DxFeed.Graal.Net.dll

An exception class representing errors that occur within Java code during interop scenarios.

[Serializable]
public sealed class JavaException : Exception, ISerializable
Inheritance
JavaException
Implements
Inherited Members

Remarks

This class encapsulates detailed information about Java exceptions, including the class name, message, and stack trace from the originating Java exception.

Constructors

JavaException(string?, string?, string?)

Initializes a new instance of the JavaException class.

public JavaException(string? message, string? className, string? stackTrace)

Parameters

message string

The message that describes the error.

className string

The class name of the Java exception.

stackTrace string

The stack trace of the Java exception.

Properties

JavaClassName

Gets the class name of the Java exception.

public string? JavaClassName { get; }

Property Value

string

JavaStackTrace

Gets the stack trace of the Java exception.

public string? JavaStackTrace { get; }

Property Value

string

StackTrace

public override string StackTrace { get; }

Property Value

string

Methods

GetObjectData(SerializationInfo, StreamingContext)

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext