public static void recordEmbeddedStreamException(Throwable t, Metadata m) {
        String ex = ExceptionUtils.getFilteredStackTrace(t);
        m.add(TikaCoreProperties.TIKA_META_EXCEPTION_EMBEDDED_STREAM, ex);
    }
@return Returns a {@link TikaConfig} -- trying to find it first in the ParseContext
that was included during initialization, and then creating a new one from
via {@link TikaConfig#getDefaultConfig()} if it can't find one in the
ParseContext. This caches the default config so that it only has to be created once.
tika-core/src/main/java/org/apache/tika/extractor/EmbeddedDocumentUtil.java