Class ValidationError

All Implemented Interfaces:
Serializable

public class ValidationError extends RuntimeException
A value that fails its validation rule; the message is the spec's error text.
See Also:
  • Constructor Details

    • ValidationError

      public ValidationError(String message)
      Construct a validation error with the rule failure message.