protected void onException(final Exception e, final HttpServletResponse response, final FilterChain chain) {
    """
	Invoked when a {@link Exception} is thrown. Allows custom exception handling. The default implementation proceeds
	with filter chaining when exception is thrown.
	
	@param e
	{@link Exception} thrown during request processing.
    """
    LOG.error("Exception occured", e);
    try {
      LOG.warn("Cannot process. Proceeding with chain execution.");
      chain.doFilter(Context.get().getRequest(), response);
    } catch (final Exception ex) {
      // should never happen (use debug level to suppress unuseful logs)
      LOG.debug("Error while chaining the request", ex);
    }
  }
protected void onException(final Exception e, final HttpServletResponse response, final FilterChain chain) {
    LOG.error("Exception occured", e);
    try {
      LOG.warn("Cannot process. Proceeding with chain execution.");
      chain.doFilter(Context.get().getRequest(), response);
    } catch (final Exception ex) {
      // should never happen (use debug level to suppress unuseful logs)
      LOG.debug("Error while chaining the request", ex);
    }
  }
protected void onException ( final Exception e , final HttpServletResponse response , final FilterChain chain ) { LOG . error ( "Exception occured" , e ) ; try { LOG . warn ( "Cannot process. Proceeding with chain execution." ) ; chain . doFilter ( Context . get ( ) . getRequest ( ) , response ) ; } catch ( final Exception ex ) { // should never happen (use debug level to suppress unuseful logs) LOG . debug ( "Error while chaining the request" , ex ) ; } }
Invoked when a {@link Exception} is thrown. Allows custom exception handling. The default implementation proceeds
with filter chaining when exception is thrown.

@param e
{@link Exception} thrown during request processing.
Invoked when a { @link Exception } is thrown . Allows custom exception handling . The default implementation proceeds with filter chaining when exception is thrown .