Mercurial > mxd2map
comparison 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 |
comparison
equal
deleted
inserted
replaced
141:8f30f7e802d6 | 143:6d294beb0e59 |
---|---|
193 } | 193 } |
194 } | 194 } |
195 catch(IOException ioe){ | 195 catch(IOException ioe){ |
196 logger.warn("Could not read pattern elements."); | 196 logger.warn("Could not read pattern elements."); |
197 } | 197 } |
198 catch(NullPointerException npe) { | |
199 logger.debug("No pattern elements in carto line symbol"); | |
200 } | |
198 symbolElement.setAttribute("type", "line"); | 201 symbolElement.setAttribute("type", "line"); |
199 symbolElement.setAttribute("style", "carto"); | 202 symbolElement.setAttribute("style", "carto"); |
200 | 203 |
201 return symbolElement; | 204 return symbolElement; |
202 } | 205 } |