Friday, September 27, 2013

ClientAbortException


Generally, you can just ignore it. This exception will be thrown when the client has abruptly aborted the HTTP request while the page is still loading or continuous requesting/clicking. This will occur when the client pressed Esc, or hastily navigated away, or closed the browser, or got network outage, or even caught fire. All of this is totally out your control.

catch the exception to suppress the error on server log
try {
}
catch (ClientAbortException e) {
logger.error(e.getMessage());
}