public class ClientAbortException
extends java.io.IOException
Exception which occurs when the connection between the HTTP client and a servlet has been unexpectedly closed.
In such situation Tomcat and JBoss throw a class extending IOException
and also named ClientAbortException.
Jetty just throw a simple IOException
with an appropriate message. And so, other servlet
containers may throw a similar exception when a client-server connection is closed. This implementation
of ClientAbortException provided by the library aims to signal this error in a unified way, with a single
IOException
, whatever is the underlying servlet container.
Note:
Instead of this exception any IOException thrown by an OutputStream
or a PrintWriter
which has been provided by an HttpServletResponse
should be considered as an abortion of
the HTTP client.
Constructor and Description |
---|
ClientAbortException() |
ClientAbortException(java.io.IOException ioe) |