Search Results for

    Show / Hide Table of Contents

    Class ResponseException

    The exception that is thrown when a response is received from Gremlin Server that indicates that an error occurred.

    Inheritance
    object
    Exception
    ResponseException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    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: Gremlin.Net.Driver.Exceptions
    Assembly: Gremlin.Net.dll
    Syntax
    public class ResponseException : Exception, ISerializable

    Constructors

    ResponseException(ResponseStatusCode, IReadOnlyDictionary<string, object>, string)

    Initializes a new instance of the ResponseException class.

    Declaration
    public ResponseException(ResponseStatusCode statusCode, IReadOnlyDictionary<string, object> statusAttributes, string message)
    Parameters
    Type Name Description
    ResponseStatusCode statusCode

    The status code returned by the server.

    IReadOnlyDictionary<string, object> statusAttributes

    The status attributes from the gremlin response.

    string message

    The error message string.

    Properties

    StatusAttributes

    Gets the status attributes from the gremlin response

    Declaration
    public IReadOnlyDictionary<string, object> StatusAttributes { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<string, object>

    StatusCode

    Gets the status code returned from the server.

    Declaration
    public ResponseStatusCode StatusCode { get; }
    Property Value
    Type Description
    ResponseStatusCode

    Implements

    ISerializable
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation