Class EventValidationFailedException

  • All Implemented Interfaces:
    Serializable

    public class EventValidationFailedException
    extends Exception
    Thrown when an Eiffel event has failed a validation against a schema.
    See Also:
    Serialized Form
    • Constructor Detail

      • EventValidationFailedException

        public EventValidationFailedException​(Set<com.networknt.schema.ValidationMessage> validationResult,
                                              com.fasterxml.jackson.databind.JsonNode inputDocument)
    • Method Detail

      • getValidationResult

        public Set<com.networknt.schema.ValidationMessage> getValidationResult()
        Returns the set of ValidationMessage instances that describe the problems reported by the validator.
      • getInputDocument

        public com.fasterxml.jackson.databind.JsonNode getInputDocument()
        Returns the JSON document that failed the validation.