Package com.vaadin.data.fieldgroup
Class FieldGroup.FieldGroupInvalidValueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.vaadin.data.Validator.InvalidValueException
-
- com.vaadin.data.fieldgroup.FieldGroup.FieldGroupInvalidValueException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FieldGroup
public static class FieldGroup.FieldGroupInvalidValueException extends Validator.InvalidValueException
Exception which wraps InvalidValueExceptions from all invalid fields in a FieldGroup- Since:
- 7.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldGroupInvalidValueException(Map<Field<?>,Validator.InvalidValueException> invalidValueExceptions)
Constructs a new exception with the specified validation exceptions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Field<?>,Validator.InvalidValueException>
getInvalidFields()
Returns a map containing fields which failed validation and the exceptions the corresponding validators threw.-
Methods inherited from class com.vaadin.data.Validator.InvalidValueException
getCauses, getHtmlMessage, isInvisible
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FieldGroupInvalidValueException
public FieldGroupInvalidValueException(Map<Field<?>,Validator.InvalidValueException> invalidValueExceptions)
Constructs a new exception with the specified validation exceptions.- Parameters:
invalidValueExceptions
- a property id to exception map
-
-
Method Detail
-
getInvalidFields
public Map<Field<?>,Validator.InvalidValueException> getInvalidFields()
Returns a map containing fields which failed validation and the exceptions the corresponding validators threw.- Returns:
- a map with all the invalid value exceptions
-
-