diff src/java/de/intevation/mxd/writer/FillStyleWriter.java @ 120:11d63bf00326

Changed exception handling and logging in writer classes.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 16 Jun 2011 14:49:45 +0200
parents 461ee9193097
children 3c792458a716
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/FillStyleWriter.java	Thu Jun 16 14:13:39 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/FillStyleWriter.java	Thu Jun 16 14:49:45 2011 +0200
@@ -45,8 +45,7 @@
     /**
      * Write the content.
      */
-    public boolean write(Element symbolElement)
-    throws Exception {
+    public boolean write(Element symbolElement) {
         symbolSetObj symbolSet = map.getSymbolset();
 
         if(symbolElement.hasChildNodes()) {
@@ -116,8 +115,7 @@
     /**
      * Write the outline for a polygon.
      */
-    private void writeOutline(Element symbolElement)
-    throws Exception {
+    private void writeOutline(Element symbolElement) {
         logger.debug("writeOutline()");
         //write transparent outline
         colorObj color = new colorObj(-1, -1, -1, -4);
@@ -142,8 +140,7 @@
     /**
      * Write marker attributes and a symbol for the polygon fill.
      */
-    private void writeMarker(Element symbolElement, double gap)
-    throws Exception {
+    private void writeMarker(Element symbolElement, double gap) {
         logger.debug("writeMarker()");
         String name = symbolElement.getAttribute("name");
         String type = symbolElement.getAttribute("type");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)