Show / Hide Table of Contents

    Class JavaException

    Indicates an error on Java side and contains full Java stack trace.

    Inheritance
    System.Object
    System.Exception
    IgniteException
    JavaException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    Namespace: Apache.Ignite.Core.Common
    Assembly: Apache.Ignite.Core.dll
    Syntax
    [Serializable]
    public class JavaException : IgniteException, ISerializable, _Exception

    Constructors

    JavaException()

    Initializes a new instance of the JavaException class.

    Declaration
    public JavaException()

    JavaException(SerializationInfo, StreamingContext)

    Initializes a new instance of the JavaException class.

    Declaration
    protected JavaException(SerializationInfo info, StreamingContext ctx)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    Serialization information.

    System.Runtime.Serialization.StreamingContext ctx

    Streaming context.

    JavaException(String)

    Initializes a new instance of the JavaException class.

    Declaration
    public JavaException(string message)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    JavaException(String, Exception)

    Initializes a new instance of the JavaException class.

    Declaration
    public JavaException(string message, Exception cause)
    Parameters
    Type Name Description
    System.String message

    The message.

    System.Exception cause

    The cause.

    JavaException(String, String, String)

    Initializes a new instance of the JavaException class.

    Declaration
    public JavaException(string javaClassName, string javaMessage, string stackTrace)
    Parameters
    Type Name Description
    System.String javaClassName

    Java exception class name.

    System.String javaMessage

    Java exception message.

    System.String stackTrace

    Java stack trace.

    JavaException(String, String, String, Exception)

    Initializes a new instance of the JavaException class.

    Declaration
    public JavaException(string javaClassName, string javaMessage, string stackTrace, Exception cause)
    Parameters
    Type Name Description
    System.String javaClassName

    Java exception class name.

    System.String javaMessage

    Java exception message.

    System.String stackTrace

    Java stack trace.

    System.Exception cause

    The cause.

    Properties

    JavaClassName

    Gets the Java exception class name.

    Declaration
    public string JavaClassName { get; }
    Property Value
    Type Description
    System.String

    JavaMessage

    Gets the Java exception message.

    Declaration
    public string JavaMessage { get; }
    Property Value
    Type Description
    System.String

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

    Overrides
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Back to top © 2015 - 2019 The Apache Software Foundation