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:
  • Constructor Details

    • FailFastAssertionException

      public FailFastAssertionException(ValidationMessage validationMessage)
      Constructor.
      Parameters:
      validationMessage - the validation message
  • Method Details