changeset 8599:8641ce84a4b3

(issue1051) Show offending value in year format error
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 20 Mar 2015 14:31:14 +0100
parents af840bf7f05a
children d23982357c79
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadPeriodPanel.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadPeriodPanel.java	Thu Mar 19 16:50:24 2015 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadPeriodPanel.java	Fri Mar 20 14:31:14 2015 +0100
@@ -199,7 +199,7 @@
             try {
                 value = Integer.parseInt(sValue);
             } catch (NumberFormatException e) {
-                errors.add(MESSAGES.wrongFormat());
+                errors.add(MESSAGES.wrongFormat() + ": " + sValue);
                 continue;
             }
             boolean isGood = false;

http://dive4elements.wald.intevation.org