Table of Contents

Class HonuaWcsException

Namespace
Honua.Sdk.Coverages.Exceptions
Assembly
Honua.Sdk.Coverages.dll

Exception thrown when an OGC WCS 2.0 request fails.

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

Constructors

HonuaWcsException()

Initializes a new instance of HonuaWcsException.

public HonuaWcsException()

HonuaWcsException(HttpStatusCode, string, HonuaWcsErrorDetails?)

Initializes a new instance of HonuaWcsException with HTTP status and optional details.

public HonuaWcsException(HttpStatusCode statusCode, string message, HonuaWcsErrorDetails? details = null)

Parameters

statusCode HttpStatusCode
message string
details HonuaWcsErrorDetails

HonuaWcsException(string)

Initializes a new instance of HonuaWcsException with a message.

public HonuaWcsException(string message)

Parameters

message string

HonuaWcsException(string, Exception)

Initializes a new instance of HonuaWcsException with a message and inner exception.

public HonuaWcsException(string message, Exception innerException)

Parameters

message string
innerException Exception

Properties

ExceptionCode

OGC exception code from the ExceptionReport, if present.

public string? ExceptionCode { get; }

Property Value

string

HttpStatus

Normalized HTTP status code for this failure.

public override int? HttpStatus { get; }

Property Value

int?

Locator

OGC ExceptionReport locator identifying the offending request parameter, if present.

public string? Locator { get; }

Property Value

string

ProblemDetails

RFC 7807 problem details synthesized from this failure.

public override HonuaProblemDetails? ProblemDetails { get; }

Property Value

HonuaProblemDetails

ResponseBody

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