Package com.jogamp.common
Interface ExceptionUtils.CustomStackTrace
- All Known Implementing Classes:
SourcedInterruptedException
- Enclosing class:
- ExceptionUtils
public static interface ExceptionUtils.CustomStackTrace
Interface allowing
Throwable specializations to provide their custom stack trace presentation.- Since:
- 2.3.2
-
Method Summary
Modifier and TypeMethodDescriptionvoidprintCauseStack(PrintStream s, String causeStr, int causeIdx, int stackDepth) voidprintStackTrace(PrintStream s, int causeDepth, int stackDepth) CustomprintStackTracemethod, similar toThrowable#printStackTrace(PrintStream, int, int).
-
Method Details
-
printCauseStack
- Parameters:
s- output streamcauseStr- the cause titlecauseIdx- the cause index over all causes known by callerstackDepth- the maximum depth for stack entries, or-1for all- Since:
- 2.3.2
-
printStackTrace
CustomprintStackTracemethod, similar toThrowable#printStackTrace(PrintStream, int, int).- Parameters:
s- output streamcauseDepth- the maximum depth for causes, or-1for allstackDepth- the maximum depth for stack entries, or-1for all
-