Fixed erroneous return

This commit is contained in:
Simon Pamies committed 2013-12-18 14:15:48 +01:00
1 parent ce6b4878ad
commit 7c3ecdbea5
1 file changed
+1 -3
@@ -23,10 +23,8 @@ public class XcelsiusServlet extends SailingServerHttpServlet {
return;
}
throw new ServletException("Unknown action " + action);
return;
}
throw new ServletException("Please use the action= parameter to specify an action.", res);
return;
throw new ServletException("Please use the action= parameter to specify an action.");
} catch (Exception e) {
throw (new ServletException(e));
}