public void throwIfCauseOf(SAXException e) throws TikaException {
        if (e instanceof SecureSAXException && ((SecureSAXException) e).isCausedBy(this)) {
            throw new TikaException("Zip bomb detected!", e);
        }
    }
Converts the given {@link SAXException} to a corresponding
{@link TikaException} if it's caused by this instance detecting
a zip bomb.

@param e SAX exception
@throws TikaException zip bomb exception
tika-core/src/main/java/org/apache/tika/sax/SecureContentHandler.java