@@ -0,0 +1,637 @@
+package org.jsoftware.logback;%0A%0Aimport ch.qos.logback.classic.spi.ILoggingEvent;%0Aimport ch.qos.logback.core.filter.AbstractMatcherFilter;%0Aimport ch.qos.logback.core.spi.FilterReply;%0A%0A/**%0A * Logback filter that accepts all events with Throwable%0A * @author szalik%0A */%0Apublic class HasThrowableFilter extends AbstractMatcherFilter%3CILoggingEvent%3E %7B%0A%0A    @Override%0A    public FilterReply decide(ILoggingEvent event) %7B%0A        if (! isStarted()) %7B%0A            return FilterReply.NEUTRAL;%0A        %7D%0A%0A        if (event.getThrowableProxy() != null) %7B%0A            return onMatch;%0A        %7D else %7B%0A            return onMismatch;%0A        %7D%0A    %7D%0A%0A%7D%0A

Reformat and javadocs