Search Results for

    Show / Hide Table of Contents

    Class JavaException

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

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

    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
    SerializationInfo info

    Serialization information.

    StreamingContext ctx

    Streaming context.

    JavaException(string)

    Initializes a new instance of the JavaException class.

    Declaration
    public JavaException(string message)
    Parameters
    Type Name Description
    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
    string message

    The message.

    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
    string javaClassName

    Java exception class name.

    string javaMessage

    Java exception message.

    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
    string javaClassName

    Java exception class name.

    string javaMessage

    Java exception message.

    string stackTrace

    Java stack trace.

    Exception cause

    The cause.

    Properties

    JavaClassName

    Gets the Java exception class name.

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

    JavaMessage

    Gets the Java exception message.

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

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

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

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

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

    StreamingContext context

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

    Overrides
    Exception.GetObjectData(SerializationInfo, StreamingContext)

    Implements

    ISerializable
    In this article
    Back to top © 2015 - 2019 The Apache Software Foundation