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
statusCodeHttpStatusCodemessagestringdetailsHonuaWcsErrorDetails
HonuaWcsException(string)
Initializes a new instance of HonuaWcsException with a message.
public HonuaWcsException(string message)
Parameters
messagestring
HonuaWcsException(string, Exception)
Initializes a new instance of HonuaWcsException with a message and inner exception.
public HonuaWcsException(string message, Exception innerException)
Parameters
Properties
ExceptionCode
OGC exception code from the ExceptionReport, if present.
public string? ExceptionCode { get; }
Property Value
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
ProblemDetails
RFC 7807 problem details synthesized from this failure.
public override HonuaProblemDetails? ProblemDetails { get; }
Property Value
ResponseBody
Raw response body, if available.
public string? ResponseBody { get; }
Property Value
StatusCode
HTTP status code returned by the server.
public HttpStatusCode StatusCode { get; }