Class InvalidFreshnessInterval

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.ygbstudio.jbrave.core.exceptions.InvalidFreshnessInterval
All Implemented Interfaces:
Serializable

public class InvalidFreshnessInterval extends RuntimeException
Exception thrown when the interval of dates provided for a freshness filter is invalid. (e.g. end date is before start date).
See Also:
  • Constructor Details

    • InvalidFreshnessInterval

      public InvalidFreshnessInterval(String message)
      Creates a new instance with the given detail message.
      Parameters:
      message - the detail message
    • InvalidFreshnessInterval

      public InvalidFreshnessInterval(@NotNull @NotNull Supplier<String> message)
      Creates a new instance with a lazily-evaluated detail message.
      Parameters:
      message - a supplier for the detail message