PaymentRequiredException Class

The exception that is thrown when a payment is required to access a resource.

Definition

Namespace: MobileTrack.Common.Models.Exceptions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class PaymentRequiredException : Exception
Inheritance
Object    Exception    PaymentRequiredException

Remarks

This exception is invoked when actions are to be performed for a CompanyDto who is behind on their payments. This causes them to see a HTTP 402 Payment Required status code.

Constructors

PaymentRequiredException Default constructor
PaymentRequiredException(String) Constructor with message
PaymentRequiredException(String, Exception) Constructor with message and inner exception

See Also