Package com.jogamp.common
Interface ExceptionUtils.CustomStackTrace
-
- All Known Implementing Classes:
SourcedInterruptedException
- Enclosing class:
- ExceptionUtils
public static interface ExceptionUtils.CustomStackTraceInterface allowingThrowablespecializations to provide their custom stack trace presentation.- Since:
- 2.3.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprintCauseStack(PrintStream s, String causeStr, int causeIdx, int stackDepth)voidprintStackTrace(PrintStream s, int causeDepth, int stackDepth)CustomprintStackTracemethod, similar toThrowable#printStackTrace(PrintStream, int, int).
-
-
-
Method Detail
-
printCauseStack
void printCauseStack(PrintStream s, String causeStr, int causeIdx, int stackDepth)
- 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
void printStackTrace(PrintStream s, int causeDepth, int stackDepth)
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
-
-