Class ProblemDetails

java.lang.Object
io.apicurio.registry.rest.v3.beans.ProblemDetails
Direct Known Subclasses:
RuleViolationProblemDetails

@Generated("jsonschema2pojo") public class ProblemDetails extends Object
Root Type for Error

All error responses, whether `4xx` or `5xx` will include one of these as the response body.

  • Constructor Details

    • ProblemDetails

      public ProblemDetails()
  • Method Details

    • getDetail

      public String getDetail()
      A human-readable explanation specific to this occurrence of the problem.
    • setDetail

      public void setDetail(String detail)
      A human-readable explanation specific to this occurrence of the problem.
    • getType

      public String getType()
      A URI reference [RFC3986] that identifies the problem type.
    • setType

      public void setType(String type)
      A URI reference [RFC3986] that identifies the problem type.
    • getTitle

      public String getTitle()
      A short, human-readable summary of the problem type. (Required)
    • setTitle

      public void setTitle(String title)
      A short, human-readable summary of the problem type. (Required)
    • getStatus

      public Integer getStatus()
      The HTTP status code. (Required)
    • setStatus

      public void setStatus(Integer status)
      The HTTP status code. (Required)
    • getInstance

      public String getInstance()
      A URI reference that identifies the specific occurrence of the problem.
    • setInstance

      public void setInstance(String instance)
      A URI reference that identifies the specific occurrence of the problem.
    • getName

      public String getName()
      The name of the error (typically a server exception class name).
    • setName

      public void setName(String name)
      The name of the error (typically a server exception class name).