wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/js/AbstractLinterProcessor.java
protected void onLinterException(final LinterException e, final Resource resource) {
    LOG.error("The following resource: " + resource + " has " + e.getErrors().size() + " errors.", e);
  }
protected void onLinterException(final LinterException e, final Resource resource) {
    LOG.error("The following resource: " + resource + " has " + e.getErrors().size() + " errors.", e);
  }
Called when {@link LinterException} is thrown. Allows subclasses to re-throw this exception as a
{@link RuntimeException} or handle it differently. The default implementation simply logs the errors.

@param e {@link LinterException} which has occurred.
@param resource the processed resource which caused the exception.