]> WPIA git - gigi.git/commitdiff
Fix: missing throw
authorFelix Dörre <felix@dogcraft.de>
Fri, 20 Feb 2015 00:18:27 +0000 (01:18 +0100)
committerFelix Dörre <felix@dogcraft.de>
Fri, 20 Feb 2015 00:18:27 +0000 (01:18 +0100)
src/org/cacert/gigi/Gigi.java

index 7e0b3b5569a3681c1625f79d2f8ef4f55699fbdc..e426a6d473ccae82888a04af845750c870668acf 100644 (file)
@@ -153,7 +153,7 @@ public class Gigi extends HttpServlet {
             try {
                 putPage("/wot/rules", new StaticPage("Web of Trust Rules", AssurePage.class.getResourceAsStream("Rules.templ")), "Web of Trust");
             } catch (UnsupportedEncodingException e) {
             try {
                 putPage("/wot/rules", new StaticPage("Web of Trust Rules", AssurePage.class.getResourceAsStream("Rules.templ")), "Web of Trust");
             } catch (UnsupportedEncodingException e) {
-                new ServletException(e);
+                throw new ServletException(e);
             }
             baseTemplate = new Template(Gigi.class.getResource("Gigi.templ"));
             rootMenu = new Menu("Main");
             }
             baseTemplate = new Template(Gigi.class.getResource("Gigi.templ"));
             rootMenu = new Menu("Main");