comparison gnv/ChangeLog @ 665:27f25b9ae9af

Improved exception handling. Display error messages after invalid user input. gnv/trunk@758 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 10 Mar 2010 13:41:53 +0000
parents 15497dce8fcd
children bb7df90fcb74
comparison
equal deleted inserted replaced
664:15497dce8fcd 665:27f25b9ae9af
1 2010-03-10 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java,
4 src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java:
5 Throw different exceptions if an error occured in the artifact server.
6 On this way, we are able to distinguish between general server errors or
7 errors caused by an invalid user input.
8
9 * src/main/java/de/intevation/gnv/action/FetchArtifactFactoriesAction.java,
10 src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java:
11 Catch the exceptions thrown by DefaultArtifactDatabaseClient and set an
12 attribute at the request object for each exception type. The attributes
13 will take effect on different places in the user interface.
14
15 * src/main/java/de/intevation/gnv/artifactdatabase/client/exception/ArtifactDatabaseInputException.java:
16 Exception used to be thrown if an invalid user input error occured.
17
18 * src/main/java/de/intevation/gnv/action/CommunicationKeys.java: Added some
19 keys to store different error messages in the Http session.
20
21 * src/main/webapp/styles/default.css: Added new style class to adjust the
22 style of error messages caused by invalid user input.
23
24 * src/main/webapp/WEB-INF/jsp/index.jsp: Display invalid input errors at
25 the top of the input area.
26
1 2010-03-09 Ingo Weinzierl <ingo.weinzierl@intevation.de> 27 2010-03-09 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2 28
3 * src/main/webapp/WEB-INF/config/log4j.properties, 29 * src/main/webapp/WEB-INF/config/log4j.properties,
4 src/main/webapp/WEB-INF/classes/log4j.properties: Moved logging 30 src/main/webapp/WEB-INF/classes/log4j.properties: Moved logging
5 configuration. The config file did not have any effect in config 31 configuration. The config file did not have any effect in config

http://dive4elements.wald.intevation.org