Class RuleViolationError

java.lang.Object
io.apicurio.registry.rest.v2.beans.Error
io.apicurio.registry.rest.v2.beans.RuleViolationError

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

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

  • Constructor Details

    • RuleViolationError

      public RuleViolationError()
  • Method Details

    • getCauses

      public List<RuleViolationCause> getCauses()
      List of rule violation causes. (Required)
    • setCauses

      public void setCauses(List<RuleViolationCause> causes)
      List of rule violation causes. (Required)
    • getDetail

      public String getDetail()
      Full details about the error. This might contain a server stack trace, for example.
      Overrides:
      getDetail in class Error
    • setDetail

      public void setDetail(String detail)
      Full details about the error. This might contain a server stack trace, for example.
      Overrides:
      setDetail in class Error
    • getErrorCode

      public Integer getErrorCode()
      The server-side error code.
      Overrides:
      getErrorCode in class Error
    • setErrorCode

      public void setErrorCode(Integer errorCode)
      The server-side error code.
      Overrides:
      setErrorCode in class Error
    • getMessage

      public String getMessage()
      The short error message.
      Overrides:
      getMessage in class Error
    • setMessage

      public void setMessage(String message)
      The short error message.
      Overrides:
      setMessage in class Error
    • getName

      public String getName()
      The error name - typically the classname of the exception thrown by the server.
      Overrides:
      getName in class Error
    • setName

      public void setName(String name)
      The error name - typically the classname of the exception thrown by the server.
      Overrides:
      setName in class Error