changeset 144:ad3f540fd1c3

Merged.
author vc11884admin@VC11884.win.bsh.de
date Mon, 27 Jun 2011 17:22:52 +0200
parents f98d2759e494 (current diff) 6d294beb0e59 (diff)
children b2c5a66022f1
files ChangeLog
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jun 27 16:23:51 2011 +0200
+++ b/ChangeLog	Mon Jun 27 17:22:52 2011 +0200
@@ -1,3 +1,8 @@
+2011-06-27  Raimund Renkert  <raimund.renkert@intevation.de>
+
+	* src/java/de/intevation/mxd/writer/CartoLineSymbolReader.java:
+	  Fixed exception handling for this reader.
+
 2011-06-27  Raimund Renkert  <raimund.renkert@intevation.de>
 
 	* src/java/de/intevation/mxd/writer/MapScriptWriter.java:
--- a/src/java/de/intevation/mxd/reader/CartoLineSymbolReader.java	Mon Jun 27 16:23:51 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/CartoLineSymbolReader.java	Mon Jun 27 17:22:52 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)