Show / Hide Table of Contents
    • Yort.LatitudePay.InStore
      • ILatitudePayClient
      • ILatitudePaySignatureGenerator
      • ILatitudePaySystemClock
      • LatitiudePayShippingLine
      • LatitudePayAddress
      • LatitudePayApiException
      • LatitudePayAuthToken
      • LatitudePayAvailability
      • LatitudePayCancelPurchaseRequest
      • LatitudePayCancelPurchaseResponse
      • LatitudePayClient
      • LatitudePayClientConfiguration
      • LatitudePayConfigurationRequest
      • LatitudePayConfigurationResponse
      • LatitudePayConstants
      • LatitudePayCreatePosPurchaseRequest
      • LatitudePayCreatePosPurchaseResponse
      • LatitudePayCreateRefundRequest
      • LatitudePayCreateRefundResponse
      • LatitudePayCurrencies
      • LatitudePayCustomer
      • LatitudePayEnvironment
      • LatitudePayHMACSHA256SignatureGenerator
      • LatitudePayMoney
      • LatitudePayProduct
      • LatitudePayPurchaseStatusRequest
      • LatitudePayPurchaseStatusResponse
      • LatitudePayReturnUrls
      • LatitudePaySystemClock

    Class LatitudePayApiException

    Thrown when an (HTTP) error response is received from the LatitudePay API.

    Inheritance
    Object
    Exception
    LatitudePayApiException
    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: Yort.LatitudePay.InStore
    Assembly: Yort.LatitudePay.InStore.dll
    Syntax
    [Serializable]
    public class LatitudePayApiException : Exception, ISerializable

    Constructors

    | Improve this Doc View Source

    LatitudePayApiException()

    Default constructor.

    Declaration
    public LatitudePayApiException()
    | Improve this Doc View Source

    LatitudePayApiException(SerializationInfo, StreamingContext)

    Deserialisation constructor.

    Declaration
    protected LatitudePayApiException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info
    StreamingContext context
    | Improve this Doc View Source

    LatitudePayApiException(String)

    Partial constructor.

    Declaration
    public LatitudePayApiException(string message)
    Parameters
    Type Name Description
    String message

    The error message to associated with this exception.

    | Improve this Doc View Source

    LatitudePayApiException(String, Exception)

    Partial constructor.

    Declaration
    public LatitudePayApiException(string message, Exception inner)
    Parameters
    Type Name Description
    String message

    The error message to associated with this exception.

    Exception inner

    The exception wrapped by this exception.

    | Improve this Doc View Source

    LatitudePayApiException(String, Int32)

    Recommended constructor.

    Declaration
    public LatitudePayApiException(string message, int statusCode)
    Parameters
    Type Name Description
    String message

    The error message returned by the LatitudePay API.

    Int32 statusCode

    The HTTP status code returned by the LatitudePay API.

    Properties

    | Improve this Doc View Source

    StatusCode

    Returns the HTTP status code associated with this exception, if any, otherwise -1.

    Declaration
    public int StatusCode { get; }
    Property Value
    Type Description
    Int32

    Implements

    System.Runtime.Serialization.ISerializable
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2020 Troy Willmot