Class ApiException
Error message model.
Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
System.Net.WebException
ApiException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
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 SourceApiException(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