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
messagestringThe message that describes the error.
classNamestringThe class name of the Java exception.
stackTracestringThe stack trace of the Java exception.
Properties
JavaClassName
Gets the class name of the Java exception.
public string? JavaClassName { get; }
Property Value
JavaStackTrace
Gets the stack trace of the Java exception.
public string? JavaStackTrace { get; }
Property Value
StackTrace
public override string StackTrace { get; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext