Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/SimpleRendererReader.java @ 135:a4ab239509f1
Updated the default values and reader error handling.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 22 Jun 2011 13:55:22 +0200 |
parents | c8a1361ddd38 |
children | 0bde090506f9 |
comparison
equal
deleted
inserted
replaced
134:acc9e5430177 | 135:a4ab239509f1 |
---|---|
87 rendererElement.setAttribute( | 87 rendererElement.setAttribute( |
88 "description", | 88 "description", |
89 renderer.getDescription()); | 89 renderer.getDescription()); |
90 } | 90 } |
91 catch(IOException ioe) { | 91 catch(IOException ioe) { |
92 logger.warn( | 92 logger.warn("Could not read description."); |
93 "Could not read description." + | |
94 " Setting empty description."); | |
95 rendererElement.setAttribute("description", ""); | |
96 } | 93 } |
97 | 94 |
98 try { | 95 try { |
99 symbol = renderer.getSymbol(); | 96 symbol = renderer.getSymbol(); |
100 | 97 |