public static class FieldGroup.CommitException extends Exception
getInvalidFields() if the cause of the failure is that all bound
fields did not pass validation| Constructor and Description |
|---|
CommitException() |
CommitException(String message) |
CommitException(String message,
FieldGroup fieldGroup,
Throwable cause) |
CommitException(String message,
Throwable cause) |
CommitException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
FieldGroup |
getFieldGroup()
Returns the field group where the exception occurred
|
Map<Field<?>,Validator.InvalidValueException> |
getInvalidFields()
Returns a map containing the fields which failed validation and the
exceptions the corresponding validators threw.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CommitException()
public CommitException(String message, FieldGroup fieldGroup, Throwable cause)
public CommitException(String message)
public CommitException(Throwable cause)
public Map<Field<?>,Validator.InvalidValueException> getInvalidFields()
public FieldGroup getFieldGroup()
Copyright © 2016 Vaadin Ltd. All rights reserved.