wro4j-core/src/main/java/ro/isdc/wro/http/support/AbstractProcessorsFilter.java
protected void onRuntimeException(final RuntimeException e, final HttpServletResponse response,
      final FilterChain chain) {
    LOG.debug("RuntimeException occured", e);
    try {
      LOG.debug("Cannot process. Proceeding with chain execution.");
      chain.doFilter(Context.get().getRequest(), response);
    } catch (final Exception ex) {
      // should never happen
      LOG.error("Error while chaining the request.");
    }
  }
protected void onRuntimeException(final RuntimeException e, final HttpServletResponse response,
      final FilterChain chain) {
    LOG.debug("RuntimeException occured", e);
    try {
      LOG.debug("Cannot process. Proceeding with chain execution.");
      chain.doFilter(Context.get().getRequest(), response);
    } catch (final Exception ex) {
      // should never happen
      LOG.error("Error while chaining the request.");
    }
  }
Invoked when a {@link RuntimeException} is thrown. Allows custom exception handling. The default implementation
redirects to 404 for a specific {@link WroRuntimeException} exception when in DEPLOYMENT mode.

@param e
{@link RuntimeException} thrown during request processing.