Show / Hide Table of Contents

Class PaymentRequiredException

Contains 402(payment required) HTTP client error code details that result from a call to a Web API.

Inheritance
System.Object
ApiException<PaymentRequiredErrorInfo>
PaymentRequiredException
Inherited Members
ApiException<PaymentRequiredErrorInfo>.ErrorInfo
ApiException<PaymentRequiredErrorInfo>.HttpErrorCode
ApiException<PaymentRequiredErrorInfo>.Message
ApiException<PaymentRequiredErrorInfo>.DefaultApiErrorMessage
ApiException<PaymentRequiredErrorInfo>.GetApiErrorInfo(String)
Namespace: DNVGL.One.Compute.Platform.Client.Exceptions
Assembly: DNVGL.One.Compute.Platform.Client.dll
Syntax
public class PaymentRequiredException : ApiException<PaymentRequiredErrorInfo>

Constructors

View Source

PaymentRequiredException(PaymentRequiredErrorInfo)

Initializes a new instance of the PaymentRequiredException class with a specified PaymentRequiredErrorInfo error info.

Declaration
public PaymentRequiredException(PaymentRequiredErrorInfo errorInfo)
Parameters
Type Name Description
PaymentRequiredErrorInfo errorInfo

The message that explains the reason for the exception.

View Source

PaymentRequiredException(PaymentRequiredErrorInfo, Exception)

Initializes a new instance of the PaymentRequiredException class with a specified PaymentRequiredErrorInfo error info.

Declaration
public PaymentRequiredException(PaymentRequiredErrorInfo errorInfo, Exception innerException)
Parameters
Type Name Description
PaymentRequiredErrorInfo errorInfo

The message that explains the reason for the exception.

Exception innerException

The exception that is the cause of the current exception.If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.