Class EventValidationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.eiffel.EventValidationFailedException
- All Implemented Interfaces:
Serializable
Thrown when an Eiffel event has failed a validation against a schema.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEventValidationFailedException
(Set<com.networknt.schema.ValidationMessage> validationResult, com.fasterxml.jackson.databind.JsonNode inputDocument) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
Returns the JSON document that failed the validation.Set<com.networknt.schema.ValidationMessage>
Returns the set ofValidationMessage
instances that describe the problems reported by the validator.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EventValidationFailedException
public EventValidationFailedException(Set<com.networknt.schema.ValidationMessage> validationResult, com.fasterxml.jackson.databind.JsonNode inputDocument)
-
-
Method Details
-
getValidationResult
Returns the set ofValidationMessage
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.
-