Class FailFastAssertionException

  • All Implemented Interfaces:
    Serializable

    public class FailFastAssertionException
    extends RuntimeException
    Thrown when an assertion happens and the evaluation can fail fast.

    This doesn't extend off JsonSchemaException as it is used for flow control and is intended to be caught in a specific place.

    This will be caught in the JsonSchema validate method to be passed to the output formatter.

    See Also:
    Serialized Form
    • Constructor Detail

      • FailFastAssertionException

        public FailFastAssertionException​(ValidationMessage validationMessage)
        Constructor.
        Parameters:
        validationMessage - the validation message