com.vaadin.data.fieldgroup
Class FieldGroup.FieldGroupInvalidValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.vaadin.data.Validator.InvalidValueException
                  extended by com.vaadin.data.fieldgroup.FieldGroup.FieldGroupInvalidValueException
All Implemented Interfaces:
java.io.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
FieldGroup.FieldGroupInvalidValueException(java.util.Map<Field<?>,Validator.InvalidValueException> invalidValueExceptions)
          Constructs a new exception with the specified validation exceptions.
 
Method Summary
 java.util.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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldGroup.FieldGroupInvalidValueException

public FieldGroup.FieldGroupInvalidValueException(java.util.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 java.util.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


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.