Class ValidationErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ValidationErrorException
    extends java.lang.Exception
    Wraps a list of ValidationError
    Author:
    K. Benedyczak
    See Also:
    Serialized Form
    • Constructor Detail

      • ValidationErrorException

        public ValidationErrorException()
      • ValidationErrorException

        public ValidationErrorException​(ValidationError e)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • setError

        public void setError​(java.util.List<ValidationError> errors)
      • addErrors

        public void addErrors​(java.util.List<ValidationError> errors)