Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/FetchArtifactFactoriesAction.java @ 715:0aeac0fe5db2
Fixed broken error messages that are displayed if the artifact server is down (issue236, issue242).
gnv/trunk@986 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 26 Apr 2010 12:28:35 +0000 |
parents | af22fa5567a6 |
children | 0441e78cd900 |
comparison
equal
deleted
inserted
replaced
714:21735fb8d29b | 715:0aeac0fe5db2 |
---|---|
58 return super.execute(mapping, form, request, response); | 58 return super.execute(mapping, form, request, response); |
59 } | 59 } |
60 catch (ArtifactDatabaseClientException e) { | 60 catch (ArtifactDatabaseClientException e) { |
61 log.error(e, e); | 61 log.error(e, e); |
62 request.setAttribute( | 62 request.setAttribute( |
63 CommunicationKeys.REQUEST_EXCEPTION_INPUT_ID, | 63 CommunicationKeys.REQUEST_EXCEPTION_MESSAGE_ID, |
64 e.getMessage()); | 64 e.getMessage()); |
65 | 65 |
66 return super.getExceptionForward(mapping); | 66 return super.getExceptionForward(mapping); |
67 } | 67 } |
68 catch (Exception e) { | 68 catch (Exception e) { |