Table of Contents

Class HonuaOgcFeaturesException

Namespace
Honua.Sdk.OgcFeatures.Exceptions
Assembly
Honua.Sdk.OgcFeatures.dll

Exception thrown when an OGC API Features request fails, including RFC 7807 Problem Details responses.

public sealed class HonuaOgcFeaturesException : HonuaException, ISerializable
Inheritance
HonuaOgcFeaturesException
Implements
Inherited Members

Constructors

HonuaOgcFeaturesException()

Initializes a new instance of the HonuaOgcFeaturesException class.

public HonuaOgcFeaturesException()

HonuaOgcFeaturesException(HttpStatusCode, string, string?, Exception)

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

public HonuaOgcFeaturesException(HttpStatusCode statusCode, string message, string? responseBody, Exception innerException)

Parameters

statusCode HttpStatusCode
message string
responseBody string
innerException Exception

HonuaOgcFeaturesException(HttpStatusCode, string, string?, string?, string?, string?)

Initializes a new instance of the HonuaOgcFeaturesException class.

public HonuaOgcFeaturesException(HttpStatusCode statusCode, string message, string? responseBody = null, string? problemType = null, string? problemTitle = null, string? problemDetail = null)

Parameters

statusCode HttpStatusCode
message string
responseBody string
problemType string
problemTitle string
problemDetail string

HonuaOgcFeaturesException(string)

Initializes a new instance of the HonuaOgcFeaturesException class.

public HonuaOgcFeaturesException(string message)

Parameters

message string

A human-readable error message.

HonuaOgcFeaturesException(string, Exception)

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

public HonuaOgcFeaturesException(string message, Exception innerException)

Parameters

message string

A human-readable error message.

innerException Exception

The inner exception that caused this exception.

Properties

HttpStatus

The HTTP status code associated with the failure, normalized to an int, or null for non-HTTP transports (e.g. gRPC) or failures with no status. Lets callers branch on status uniformly without downcasting to a per-protocol exception type.

public override int? HttpStatus { get; }

Property Value

int?

ProblemDetail

The RFC 7807 problem detail, if available.

public string? ProblemDetail { get; }

Property Value

string

ProblemDetails

The RFC 7807 problem document the server returned, or null; protocol-specific detail lives on derived types.

public override HonuaProblemDetails? ProblemDetails { get; }

Property Value

HonuaProblemDetails

ProblemTitle

The RFC 7807 problem title, if available.

public string? ProblemTitle { get; }

Property Value

string

ProblemType

The RFC 7807 problem type URI, if available.

public string? ProblemType { get; }

Property Value

string

ResponseBody

The raw response body, if available.

public string? ResponseBody { get; }

Property Value

string

StatusCode

HTTP status code returned by the server.

public HttpStatusCode StatusCode { get; }

Property Value

HttpStatusCode