comparison 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
comparison
equal deleted inserted replaced
724:9ba6bb85d6dd 725:dde7f51dbe1e
1 2010-03-10 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 * doc/conf/products/timeseries/conf_timeseriespoint.xml: Use MinMaxDateState
4 to handle date input instead of MinMaxState.
5
6 * src/main/java/de/intevation/gnv/artifacts/GNVDefaultArtifact.java: Added
7 EXCEPTION_NO_INPUT key used for a lookup in resource bundles.
8
9 * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java,
10 src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java
11 src/main/java/de/intevation/gnv/state/OutputStateBase.java
12 src/main/java/de/intevation/gnv/state/StateBase.java,
13 src/main/java/de/intevation/gnv/state/MinMaxState.java,
14 src/main/java/de/intevation/gnv/state/State.java: Return localized
15 error messages as xml documents if something failed while feeding the
16 current artifact/state. These error messages are used to be displayed in
17 the user interface. There are two different error messages at the moment -
18 for general error messages related to server errors and a message invalid
19 user input. The difference between these messages is their location in the
20 xml document. Each message type is created with a separate method in
21 ArtifactXMLUtilities (createExceptionReport() and createInputException()).
22 The intention to separate these message types is to display them on
23 different places in the user interface.
24
25 * src/main/java/de/intevation/gnv/state/MinMaxDateState.java: New state to
26 handle date input.
27
28 * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java: Converted
29 some class methods into static methods and added a new method to create an
30 xml document which contains an error message for invalid user input.
31
32 * src/main/resources/lang/artifactMessages.properties,
33 src/main/resources/lang/artifactMessages_de_DE.properties,
34 src/main/resources/lang/artifactMessages_en.properties,
35 src/main/resources/lang/artifactMessages_de.properties: Added text for
36 error messages.
37
1 2010-03-09 Tim Englich <tim.englich@intevation.de> 38 2010-03-09 Tim Englich <tim.englich@intevation.de>
2 39
3 * doc/conf/queries.properties: 40 * doc/conf/queries.properties:
4 Modified the Query for the lookup of the Tablename and the Whereclaus to 41 Modified the Query for the lookup of the Tablename and the Whereclaus to
5 a choosen Layer. Now also the Templateid containing the Mapservice-ID and 42 a choosen Layer. Now also the Templateid containing the Mapservice-ID and

http://dive4elements.wald.intevation.org