Annotation Type Problem
-
@Retention(RUNTIME) @Target(TYPE) public @interface Problem
The Problem annotation is applied to an exception thrown by a service to specify how the exception should be returned as a RFC 7807 JSON Problem Details Object during an API invocation.- Author:
- Marcus Portmann
-
-
Element Detail
-
title
String title
The short, human-readable summary of the problem type.- Returns:
- the short, human-readable summary of the problem type
-
-
-
type
String type
The URI reference that identifies the problem type.- Returns:
- the URI reference that identifies the problem type
- Default:
- "about:blank"
-
-