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
Object
Exception
PreconditionFailedException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState

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