Class ExceptionUtils

java.lang.Object
org.apache.tika.utils.ExceptionUtils

public class ExceptionUtils extends Object
Turns a Throwable into the string Tika reports to callers, under the ExceptionReporting policy in effect. Tika's own channels record and emit exception text through format(Throwable, ParseContext) so that one config setting governs them all; exception text produced by third-party libraries is outside its reach.

NOTE: If your stacktraces are truncated, make sure to start your jvm with: -XX:-OmitStackTraceInFastThrow