summaryrefslogtreecommitdiffstats
path: root/documentation/datamodel/datamodel-forms.asciidoc
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2017-03-27 16:04:35 +0300
committerHenri Sara <henri.sara@gmail.com>2017-03-27 16:04:35 +0300
commitafc697f8d03f85958c995af5f0e74e7a3fd2ff10 (patch)
treeed3d94deeee6a54a27b8bfff066a3bab7dca243e /documentation/datamodel/datamodel-forms.asciidoc
parent38ed444e7eb5ab8960a681fb8775f8e1e50a4c61 (diff)
downloadvaadin-framework-afc697f8d03f85958c995af5f0e74e7a3fd2ff10.tar.gz
vaadin-framework-afc697f8d03f85958c995af5f0e74e7a3fd2ff10.zip
Fix Binder documentation on ValidationException (#8949)
Diffstat (limited to 'documentation/datamodel/datamodel-forms.asciidoc')
-rw-r--r--documentation/datamodel/datamodel-forms.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/datamodel/datamodel-forms.asciidoc b/documentation/datamodel/datamodel-forms.asciidoc
index 3db83d6436..a565e2ed01 100644
--- a/documentation/datamodel/datamodel-forms.asciidoc
+++ b/documentation/datamodel/datamodel-forms.asciidoc
@@ -54,7 +54,7 @@ Button saveButton = new Button("Save",
binder.writeBean(person);
// A real application would also save the updated person
// using the application's backend
- } catch (BindingException e) {
+ } catch (ValidationException e) {
Notification.show("Person could not be saved, " +
"please check error messages for each field.");
}