Package org.apache.tika.utils
Class ExceptionUtils
java.lang.Object
org.apache.tika.utils.ExceptionUtils
-
Constructor Details
-
ExceptionUtils
public ExceptionUtils()
-
-
Method Details
-
getFilteredStackTrace
Simple util to get stack trace.This will unwrap a TikaException and return the cause if not null
NOTE: If your stacktraces are truncated, make sure to start your jvm with: -XX:-OmitStackTraceInFastThrow
- Parameters:
t- throwable- Returns:
- Throws:
IOException
-
getStackTrace
Get the full stacktrace as a string- Parameters:
t-- Returns:
-