comparison src/java/de/intevation/mxd/reader/ArrowMarkerSymbolReader.java @ 74:7eba97e8201b

Catch all exceptions in the MXDReader.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 26 May 2011 18:11:29 +0200
parents 5c5ef5768893
children 83932f18dddc
comparison
equal deleted inserted replaced
73:acbe36fb45e0 74:7eba97e8201b
82 * Reads the symbol attributes. 82 * Reads the symbol attributes.
83 * 83 *
84 * @return The XML node. 84 * @return The XML node.
85 */ 85 */
86 public Element read() 86 public Element read()
87 throws IOException { 87 throws Exception {
88 logger.debug("read()"); 88 logger.debug("read()");
89 Element symbolElement; 89 Element symbolElement = util.addSymbol(renderer);
90 try {
91 symbolElement = util.addSymbol(renderer);
92 }
93 catch(Exception e) {
94 e.printStackTrace();
95 return null;
96 }
97 90
98 IColor c = symbol.getColor(); 91 IColor c = symbol.getColor();
99 symbolElement.setAttribute( 92 symbolElement.setAttribute(
100 "angle", 93 "angle",
101 String.valueOf(symbol.getAngle())); 94 String.valueOf(symbol.getAngle()));
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)