Class RuleViolationProblemDetails
java.lang.Object
io.apicurio.registry.rest.v3.beans.ProblemDetails
io.apicurio.registry.rest.v3.beans.RuleViolationProblemDetails
Root Type for Error
All error responses, whether `4xx` or `5xx` will include one of these as the response body.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList of rule violation causes.A human-readable explanation specific to this occurrence of the problem.A URI reference that identifies the specific occurrence of the problem.getName()The name of the error (typically a server exception class name).The HTTP status code.getTitle()A short, human-readable summary of the problem type.getType()A URI reference [RFC3986] that identifies the problem type.voidsetCauses(List<RuleViolationCause> causes) List of rule violation causes.voidA human-readable explanation specific to this occurrence of the problem.voidsetInstance(String instance) A URI reference that identifies the specific occurrence of the problem.voidThe name of the error (typically a server exception class name).voidThe HTTP status code.voidA short, human-readable summary of the problem type.voidA URI reference [RFC3986] that identifies the problem type.
-
Constructor Details
-
RuleViolationProblemDetails
public RuleViolationProblemDetails()
-
-
Method Details
-
getCauses
List of rule violation causes. (Required) -
setCauses
List of rule violation causes. (Required) -
getDetail
A human-readable explanation specific to this occurrence of the problem.- Overrides:
getDetailin classProblemDetails
-
setDetail
A human-readable explanation specific to this occurrence of the problem.- Overrides:
setDetailin classProblemDetails
-
getType
A URI reference [RFC3986] that identifies the problem type.- Overrides:
getTypein classProblemDetails
-
setType
A URI reference [RFC3986] that identifies the problem type.- Overrides:
setTypein classProblemDetails
-
getTitle
A short, human-readable summary of the problem type. (Required)- Overrides:
getTitlein classProblemDetails
-
setTitle
A short, human-readable summary of the problem type. (Required)- Overrides:
setTitlein classProblemDetails
-
getStatus
The HTTP status code. (Required)- Overrides:
getStatusin classProblemDetails
-
setStatus
The HTTP status code. (Required)- Overrides:
setStatusin classProblemDetails
-
getInstance
A URI reference that identifies the specific occurrence of the problem.- Overrides:
getInstancein classProblemDetails
-
setInstance
A URI reference that identifies the specific occurrence of the problem.- Overrides:
setInstancein classProblemDetails
-
getName
The name of the error (typically a server exception class name).- Overrides:
getNamein classProblemDetails
-
setName
The name of the error (typically a server exception class name).- Overrides:
setNamein classProblemDetails
-