Class SchemaViolation
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.curator.framework.schema.SchemaViolation
- All Implemented Interfaces:
Serializable
Thrown by the various
validation
methods in a Schema- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Data about the calling API that violated the schema -
Constructor Summary
ConstructorDescriptionSchemaViolation
(String violation) Deprecated.SchemaViolation
(Schema schema, String violation) Deprecated.useSchemaViolation(Schema, ViolatorData, String)
instanceSchemaViolation
(Schema schema, SchemaViolation.ViolatorData violatorData, String violation) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SchemaViolation
Deprecated.useSchemaViolation(Schema, ViolatorData, String)
instance- Parameters:
violation
- the violation
-
SchemaViolation
Deprecated.useSchemaViolation(Schema, ViolatorData, String)
instance- Parameters:
schema
- the schemaviolation
- the violation
-
SchemaViolation
- Parameters:
schema
- the schemaviolatorData
- data about the caller who violated the schemaviolation
- the violation
-
-
Method Details
SchemaViolation(Schema, ViolatorData, String)
instance