Class Utils.TryStackTraceWrapper

Object
Throwable
Exception
org.apache.spark.util.Utils.TryStackTraceWrapper
All Implemented Interfaces:
Serializable
Enclosing class:
Utils

public static class Utils.TryStackTraceWrapper extends Exception
Internal wrapper used to carry the original exception along with metadata needed for stacktrace stitching. This wrapper is never exposed to users.

param: originalException The original exception param: depth The number of stacktrace frames below doTryWithCallerStacktrace to preserve param: originalStacktraceEx Exception holding the original stacktrace (for suppressed display)

See Also: