Table of Contents

Class HonuaProcessesException

Namespace
Honua.Sdk.Processes.Exceptions
Assembly
Honua.Sdk.Processes.dll

Exception thrown when an OGC API Processes request fails.

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

Constructors

HonuaProcessesException()

Initializes a new instance of the HonuaProcessesException class.

public HonuaProcessesException()

HonuaProcessesException(HttpStatusCode, string, string?, Exception)

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

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

Parameters

statusCode HttpStatusCode
message string
responseBody string
innerException Exception

HonuaProcessesException(HttpStatusCode, string, string?, string?, string?, string?)

Initializes a new instance of the HonuaProcessesException class.

public HonuaProcessesException(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

HonuaProcessesException(string)

Initializes a new instance of the HonuaProcessesException class.

public HonuaProcessesException(string message)

Parameters

message string

HonuaProcessesException(string, Exception)

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

public HonuaProcessesException(string message, Exception innerException)

Parameters

message string
innerException 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?

JobId

Job identifier, when a bounded execution or wait has observed a job before failing.

public string? JobId { get; }

Property Value

string

ProblemDetail

Problem detail, if supplied by the server.

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

Problem title, if supplied by the server.

public string? ProblemTitle { get; }

Property Value

string

ProblemType

Problem type URI, if supplied by the server.

public string? ProblemType { get; }

Property Value

string

ResponseBody

Raw response body.

public string? ResponseBody { get; }

Property Value

string

StatusCode

HTTP status code returned by the server.

public HttpStatusCode StatusCode { get; }

Property Value

HttpStatusCode