File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
api/src/main/java/com/inrupt/client Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 2020 */
2121package com .inrupt .client ;
2222
23+ /**
24+ * A runtime exception representing an HTTP error response carrying a structured representation of the problem. The
25+ * problem description is embedded in a {@link ProblemDetails} instance.
26+ */
2327public class ClientHttpException extends InruptClientException {
2428 private final ProblemDetails problemDetails ;
2529
Original file line number Diff line number Diff line change 2222
2323import java .net .URI ;
2424
25+ /**
26+ * A data class representing a structured problem description sent by the server on error response.
27+ *
28+ * @see <a href="https://www.rfc-editor.org/rfc/rfc9457">RFC 9457 Problem Details for HTTP APIs</a>
29+ */
2530public class ProblemDetails {
2631 public static final String MIME_TYPE = "application/problem+json" ;
2732 public static final String DEFAULT_TYPE = "about:blank" ;
You can’t perform that action at this time.
0 commit comments