HAKOM.Persistence.Http.Net.Api.Paging.Exceptions Namespace
Exception types related to HTTP range request processing for paged results.
Remarks
Section titled “Remarks”These exceptions are thrown when parsing or validating the Range HTTP header
for use with Range<TResult> model binding.
All exceptions in this namespace derive from
HakomException and carry an appropriate
System.Net.HttpStatusCode.
- InvalidRangeRequestException — The
Rangeheader contains malformed data (HK12034). - InvalidRangeUnitException — The range unit in the header does not match the expected unit (HK12035).
- MultiRangeRequestsNotSupportedException — Multiple ranges were specified in a single request (HK12036).
- RangeCannotBeSetAfterResponseHasAlreadyStartedException — Range headers were set after the response had already started streaming (HK12037).
- RangeRequestParameterOutOfBoundsException — A range start or end value falls outside the permitted bounds (HK12038).
| Classes | |
|---|---|
| InvalidRangeRequestException | Indicates that the ‘Range’ header included in the request contains malformed data. |
| InvalidRangeUnitException | Indicates that the ‘Range’ headers unit is not supported by the accessed endpoint. |
| MultiRangeRequestsNotSupportedException | Indicates that the ‘Range’ header contained multiple ranges. |
| RangeCannotBeSetAfterResponseHasAlreadyStartedException | Indicates that an attempt was made to modify the response status code or set range related headers after headers (and possibly data) has already been sent to the client. |
| RangeRequestParameterOutOfBoundsException | Indicates that the ‘Range’ headers parameters are outside of the bounds permitted. |
Was this page helpful?Thanks for your feedback!