Class HonuaFeatureServerResponseTooLargeException
- Namespace
- Honua.Sdk.GeoServices.FeatureServer.Exceptions
- Assembly
- Honua.Sdk.GeoServices.dll
Exception thrown when a FeatureServer or MapServer response body (JSON or error) exceeds the configured
MaxResponseBytes. The body is abandoned once the ceiling is
crossed, or before any byte is read when Content-Length already declares a larger body.
public sealed class HonuaFeatureServerResponseTooLargeException : HonuaException, ISerializable
- Inheritance
-
HonuaFeatureServerResponseTooLargeException
- Implements
- Inherited Members
Constructors
HonuaFeatureServerResponseTooLargeException()
Initializes a new instance of the HonuaFeatureServerResponseTooLargeException class.
public HonuaFeatureServerResponseTooLargeException()
HonuaFeatureServerResponseTooLargeException(string)
Initializes a new instance of the HonuaFeatureServerResponseTooLargeException class.
public HonuaFeatureServerResponseTooLargeException(string message)
Parameters
messagestringA human-readable error message.
HonuaFeatureServerResponseTooLargeException(string, Exception)
Initializes a new instance of the HonuaFeatureServerResponseTooLargeException class with an inner exception.
public HonuaFeatureServerResponseTooLargeException(string message, Exception innerException)
Parameters
messagestringA human-readable error message.
innerExceptionExceptionThe inner exception that caused this exception.
Properties
DeclaredContentLength
The declared Content-Length when it alone exceeded the ceiling; null when the body was cut off while streaming.
public long? DeclaredContentLength { get; }
Property Value
- long?
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?
MaxResponseBytes
The byte ceiling that was exceeded.
public long MaxResponseBytes { get; }
Property Value
RequestUri
The request URI whose response was refused, when known.
public Uri? RequestUri { get; }
Property Value
StatusCode
HTTP status code of the oversized response.
public HttpStatusCode StatusCode { get; }