Class PaymentStripeException
Represents stripe specific payment exception
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
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: NFX.Web.Pay.Stripe
Assembly: NFX.Web.dll
Syntax
[Serializable]
public class PaymentStripeException : PaymentException, ISerializable
Constructors
PaymentStripeException(SerializationInfo, StreamingContext)
Declaration
protected PaymentStripeException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
PaymentStripeException(String)
Declaration
public PaymentStripeException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
PaymentStripeException(String, Exception)
Declaration
public PaymentStripeException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | inner |
Methods
Compose(HttpWebResponse, String, Exception)
Constructs exception composing details from response, method specific error description and actual inner exception
Declaration
public static PaymentStripeException Compose(HttpWebResponse response, string stripeErrorMessage, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.Net.HttpWebResponse | response | Response of failed request |
System.String | stripeErrorMessage | Method specific error description |
System.Exception | inner | Actual inner exception |
Returns
Type | Description |
---|---|
PaymentStripeException | Composed exception |
Implements
System.Runtime.Serialization.ISerializable