Package org.apache.spark.util
Class Utils.TryStackTraceWrapper
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Utils
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:
-
Constructor Summary
ConstructorsConstructorDescriptionTryStackTraceWrapper(Throwable originalException, int depth, Utils.OriginalTryStackTraceException originalStacktraceEx) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TryStackTraceWrapper
public TryStackTraceWrapper(Throwable originalException, int depth, Utils.OriginalTryStackTraceException originalStacktraceEx)
-
-
Method Details
-
depth
public int depth() -
originalException
-
originalStacktraceEx
-