Table of Contents

Class XapiPreconditionFailedException

Namespace
Xapi.Client
Assembly
Xapi.Client.dll

The LRS answered 412 Precondition Failed: the If-Match ETag no longer matches, or If-None-Match: * was sent for a document that exists. The LRS changed nothing (IEEE 9274.1.1, 4.1.4).

public sealed class XapiPreconditionFailedException : XapiHttpException, ISerializable
Inheritance
XapiPreconditionFailedException
Implements
Inherited Members

Constructors

XapiPreconditionFailedException()

Creates an exception with a generic message.

public XapiPreconditionFailedException()

XapiPreconditionFailedException(string)

Creates an exception with a message.

public XapiPreconditionFailedException(string message)

Parameters

message string

The message.

XapiPreconditionFailedException(string, Exception)

Creates an exception with a message and an inner exception.

public XapiPreconditionFailedException(string message, Exception innerException)

Parameters

message string

The message.

innerException Exception

The inner exception.

XapiPreconditionFailedException(string, string?)

Creates an exception for a 412 response.

public XapiPreconditionFailedException(string message, string? responseBody)

Parameters

message string

The message.

responseBody string

The response body as text, if any.