Search Results for

    Show / Hide Table of Contents

    Class ApiException

    Represents an error response from the Ingenico ePayments platform which contains an ID and a list of errors.

    Inheritance
    object
    Exception
    ApiException
    AuthorizationException
    DeclinedTransactionException
    GlobalCollectException
    IdempotenceException
    ReferenceException
    ValidationException
    Implements
    ISerializable
    _Exception
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    Namespace: Ingenico.Connect.Sdk
    Assembly: connect-sdk-dotnet.dll
    Syntax
    public class ApiException : Exception, ISerializable, _Exception

    Constructors

    ApiException(HttpStatusCode, string, string, IList<APIError>)

    Declaration
    public ApiException(HttpStatusCode statusCode, string responseBody, string errorId, IList<APIError> errors)
    Parameters
    Type Name Description
    HttpStatusCode statusCode
    string responseBody
    string errorId
    IList<APIError> errors

    ApiException(string, HttpStatusCode, string, string, IList<APIError>)

    Declaration
    public ApiException(string message, HttpStatusCode statusCode, string responseBody, string errorId, IList<APIError> errors)
    Parameters
    Type Name Description
    string message
    HttpStatusCode statusCode
    string responseBody
    string errorId
    IList<APIError> errors

    Properties

    ErrorId

    Gets the error identifier received from the Ingenico ePayments platform if available.

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

    Errors

    Gets the error list received from the Ingenico ePayments platform if available. Never null.

    Declaration
    public IList<APIError> Errors { get; }
    Property Value
    Type Description
    IList<APIError>

    ResponseBody

    Gets the raw response body that was returned by the Ingenico ePayments platform.

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

    StatusCode

    Gets the HTTP status code that was returned by the Ingenico ePayments platform.

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

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    Exception.ToString()

    Implements

    ISerializable
    _Exception
    In This Article
    Back to top Copyright (c) 2016 Global Collect Services B.V.