IIOException catched when browser session disappears
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user