Table of Contents

Class ReplicaSyncException

Namespace
Honua.Sdk.Offline.Abstractions
Assembly
Honua.Sdk.Abstractions.dll

Exception thrown when a replica sync request fails, including server-side error envelopes returned with an HTTP success status.

public sealed class ReplicaSyncException : Exception, ISerializable
Inheritance
ReplicaSyncException
Implements
Inherited Members

Constructors

ReplicaSyncException()

Initializes a new instance of the ReplicaSyncException class.

public ReplicaSyncException()

ReplicaSyncException(string)

Initializes a new instance of the ReplicaSyncException class.

public ReplicaSyncException(string message)

Parameters

message string

A human-readable error message.

ReplicaSyncException(string, Exception)

Initializes a new instance of the ReplicaSyncException class with an inner exception.

public ReplicaSyncException(string message, Exception innerException)

Parameters

message string

A human-readable error message.

innerException Exception

The inner exception that caused this exception.

ReplicaSyncException(string, HttpStatusCode?, int?)

Initializes a new instance of the ReplicaSyncException class with HTTP and server error details.

public ReplicaSyncException(string message, HttpStatusCode? statusCode, int? serverErrorCode)

Parameters

message string

A human-readable error message.

statusCode HttpStatusCode?

The HTTP status code returned by the server, if available.

serverErrorCode int?

The server-reported error code, if available.

Properties

ServerErrorCode

The server-reported error code from a GeoServices-style error envelope, if available.

public int? ServerErrorCode { get; }

Property Value

int?

StatusCode

The HTTP status code returned by the server, if available.

public HttpStatusCode? StatusCode { get; }

Property Value

HttpStatusCode?