Class EventValidationFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.eiffel.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 Summary
Constructors Constructor Description EventValidationFailedException(Set<com.networknt.schema.ValidationMessage> validationResult, com.fasterxml.jackson.databind.JsonNode inputDocument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
getInputDocument()
Returns the JSON document that failed the validation.Set<com.networknt.schema.ValidationMessage>
getValidationResult()
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 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 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.
-
-