diff gnv-artifacts/ChangeLog @ 725:dde7f51dbe1e

Improved exception handling while feeding an artifact. gnv-artifacts/trunk@757 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 10 Mar 2010 13:27:14 +0000
parents 9ba6bb85d6dd
children 8d475151b2c1
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Tue Mar 09 12:54:05 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Wed Mar 10 13:27:14 2010 +0000
@@ -1,3 +1,40 @@
+2010-03-10  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* doc/conf/products/timeseries/conf_timeseriespoint.xml: Use MinMaxDateState
+	  to handle date input instead of MinMaxState.
+
+	* src/main/java/de/intevation/gnv/artifacts/GNVDefaultArtifact.java: Added
+	  EXCEPTION_NO_INPUT key used for a lookup in resource bundles.
+
+	* src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java,
+	  src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java
+	  src/main/java/de/intevation/gnv/state/OutputStateBase.java
+	  src/main/java/de/intevation/gnv/state/StateBase.java,
+	  src/main/java/de/intevation/gnv/state/MinMaxState.java,
+	  src/main/java/de/intevation/gnv/state/State.java: Return localized
+	  error messages as xml documents if something failed while feeding the 
+	  current artifact/state. These error messages are used to be displayed in
+	  the user interface. There are two different error messages at the moment -
+	  for general error messages related to server errors and a message invalid
+	  user input. The difference between these messages is their location in the
+	  xml document. Each message type is created with a separate method in
+	  ArtifactXMLUtilities (createExceptionReport() and createInputException()).
+	  The intention to separate these message types is to display them on
+	  different places in the user interface.
+
+	* src/main/java/de/intevation/gnv/state/MinMaxDateState.java: New state to
+	  handle date input.
+
+	* src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java: Converted
+	  some class methods into static methods and added a new method to create an
+	  xml document which contains an error message for invalid user input.
+
+	* src/main/resources/lang/artifactMessages.properties,
+	  src/main/resources/lang/artifactMessages_de_DE.properties,
+	  src/main/resources/lang/artifactMessages_en.properties,
+	  src/main/resources/lang/artifactMessages_de.properties: Added text for 
+	  error messages.
+
 2010-03-09  Tim Englich  <tim.englich@intevation.de>
 
 	* doc/conf/queries.properties: 

http://dive4elements.wald.intevation.org