Show / Hide Table of Contents

Class ApiException

Error message model.

Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
System.Net.WebException
ApiException
ApiException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
ApiException.StatusCode
ApiException.ErrorMessage
System.Net.WebException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Net.WebException.System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Net.WebException.Response
System.Net.WebException.Status
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Klarna.Rest.Core.Commuication
Assembly: Klarna.Rest.Core.dll
Syntax
[Obsolete("Use Communication namespace instead of Commuication")]
public class ApiException : ApiException, ISerializable

Constructors

| Improve this Doc View Source

ApiException(String, HttpStatusCode, ErrorMessage, Exception)

Declaration
public ApiException(string message, HttpStatusCode statusCode, ErrorMessage errorMessage, Exception innerException)
Parameters
Type Name Description
System.String message
System.Net.HttpStatusCode statusCode
ErrorMessage errorMessage
System.Exception innerException

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
Back to top Copyright (c) 2005-2019 Klarna Bank AB (publ). All rights reserved.