diff src/java/de/intevation/mxd/reader/CartoLineSymbolReader.java @ 143:6d294beb0e59

Fixed exception handling for CartoLineSymbolReader.
author vc11884admin@VC11884.win.bsh.de
date Mon, 27 Jun 2011 17:16:55 +0200
parents 7632850b9520
children f4eb506499f5
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/CartoLineSymbolReader.java	Mon Jun 27 16:07:13 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/CartoLineSymbolReader.java	Mon Jun 27 17:16:55 2011 +0200
@@ -195,6 +195,9 @@
         catch(IOException ioe){
             logger.warn("Could not read pattern elements.");
         }
+        catch(NullPointerException npe) {
+            logger.debug("No pattern elements in carto line symbol"); 
+        }
         symbolElement.setAttribute("type", "line");
         symbolElement.setAttribute("style", "carto");
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)