Class SchemaViolation

  • All Implemented Interfaces:
    java.io.Serializable

    public class SchemaViolation
    extends java.lang.RuntimeException
    Thrown by the various validation methods in a Schema
    See Also:
    Serialized Form
    • Method Detail

      • getSchema

        public Schema getSchema()
      • getViolation

        public java.lang.String getViolation()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable