Class ValidationRuleError

java.lang.Object
io.confluent.kafka.schemaregistry.rules.ValidationRuleError

public final class ValidationRuleError extends Object
  • Constructor Details

  • Method Details

    • getRule

      public ValidationRule getRule()
    • getFieldPath

      public String getFieldPath()
    • getMessage

      public String getMessage()
      Optional dynamic error message returned by the rule itself — non-null when the rule expression returned a non-empty string explaining the failure (e.g. x > 0 ? '' : 'x must be positive'). Null when the failure was a plain false or a CEL evaluation error.
    • getCause

      public Throwable getCause()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object