IIOException catched when browser session disappears

This commit is contained in:
maximesinclair
2013-07-01 22:36:28 +02:00
parent c166b507f0
commit ab77f245f9

View File

@@ -24,6 +24,7 @@
package net.sourceforge.plantuml.servlet; package net.sourceforge.plantuml.servlet;
import java.io.IOException; import java.io.IOException;
import javax.imageio.IIOException;
import java.net.URLDecoder; import java.net.URLDecoder;
import javax.servlet.ServletException; import javax.servlet.ServletException;
@@ -70,7 +71,7 @@ public abstract class UmlDiagramService extends HttpServlet {
DiagramResponse dr = new DiagramResponse( response, getOutputFormat()); DiagramResponse dr = new DiagramResponse( response, getOutputFormat());
try { try {
dr.sendDiagram(uml); dr.sendDiagram(uml);
} catch (IOException ioe) { } catch (IIOException iioe) {
// Browser has closed the connection, do nothing // Browser has closed the connection, do nothing
} }
dr = null; dr = null;