Error catcher for Java applications. Log4j logger included.