comparison flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 1837:0585bf8af41b

Catch more specific Exception in FLYSArtifactCollection. flys-artifacts/trunk@3173 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 07 Nov 2011 10:43:51 +0000
parents 9562ca537143
children a584a26d5fde
comparison
equal deleted inserted replaced
1836:729ba79e94a0 1837:0585bf8af41b
731 try { 731 try {
732 FLYSArtifact artifact = (FLYSArtifact) db.getRawArtifact(uuid); 732 FLYSArtifact artifact = (FLYSArtifact) db.getRawArtifact(uuid);
733 log.debug("Got raw artifact"); 733 log.debug("Got raw artifact");
734 flysContext.put(flysContext.ARTIFACT_KEY, artifact); 734 flysContext.put(flysContext.ARTIFACT_KEY, artifact);
735 } 735 }
736 catch (Exception e) { 736 catch (ArtifactDatabaseException dbe) {
737 log.error("Exception caught when trying to get art.", e); 737 log.error("Exception caught when trying to get art.", dbe);
738 } 738 }
739 739
740 Theme t = ThemeFactory.getTheme(flysContext, facet, pattern, outName); 740 Theme t = ThemeFactory.getTheme(flysContext, facet, pattern, outName);
741 741
742 if (t != null) { 742 if (t != null) {

http://dive4elements.wald.intevation.org