# HG changeset patch # User Felix Wolfsteller # Date 1320662631 0 # Node ID 0585bf8af41b2180bc0d0cb5b46ada585d90c9e0 # Parent 729ba79e94a04e4e2a32edc98195e3e763806ccf Catch more specific Exception in FLYSArtifactCollection. flys-artifacts/trunk@3173 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 729ba79e94a0 -r 0585bf8af41b flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Fri Nov 04 14:09:05 2011 +0000 +++ b/flys-artifacts/ChangeLog Mon Nov 07 10:43:51 2011 +0000 @@ -1,3 +1,8 @@ +2011-11-07 Felix Wolfsteller + + * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: + Be more specific in what to catch. + 2011-11-04 Ingo Weinzierl * doc/conf/meta-data.xml: Added the CrossSectionTracks to the "floodmap" diff -r 729ba79e94a0 -r 0585bf8af41b flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java --- a/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Fri Nov 04 14:09:05 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Mon Nov 07 10:43:51 2011 +0000 @@ -733,8 +733,8 @@ log.debug("Got raw artifact"); flysContext.put(flysContext.ARTIFACT_KEY, artifact); } - catch (Exception e) { - log.error("Exception caught when trying to get art.", e); + catch (ArtifactDatabaseException dbe) { + log.error("Exception caught when trying to get art.", dbe); } Theme t = ThemeFactory.getTheme(flysContext, facet, pattern, outName);