Table of Contents

Class PreconditionFailedException

Namespace
Cuemon.AspNetCore.Http
Assembly
Cuemon.AspNetCore.dll

The exception that is thrown when the client has indicated preconditions in its headers which the server does not meet.

public class PreconditionFailedException : HttpStatusCodeException, ISerializable
Inheritance
PreconditionFailedException
Implements
Inherited Members

Constructors

PreconditionFailedException()

Initializes a new instance of the PreconditionFailedException class.

public PreconditionFailedException()

PreconditionFailedException(Exception)

Initializes a new instance of the PreconditionFailedException class.

public PreconditionFailedException(Exception innerException)

Parameters

innerException Exception

The exception that is the cause of the current exception.

PreconditionFailedException(String, Exception)

Initializes a new instance of the PreconditionFailedException class.

public PreconditionFailedException(string message, Exception innerException = null)

Parameters

message String

The message that describes the HTTP status code.

innerException Exception

The exception that is the cause of the current exception.

See Also