public static interface ExceptionUtils.CustomStackTrace
Throwable
specializations to provide their custom stack trace presentation.Modifier and Type | Method and Description |
---|---|
void |
printCauseStack(PrintStream s,
String causeStr,
int causeIdx,
int stackDepth)
|
void |
printStackTrace(PrintStream s,
int causeDepth,
int stackDepth)
Custom
printStackTrace method, similar to Throwable#printStackTrace(PrintStream, int, int) . |
void printCauseStack(PrintStream s, String causeStr, int causeIdx, int stackDepth)
s
- output streamcauseStr
- the cause titlecauseIdx
- the cause index over all causes known by callerstackDepth
- the maximum depth for stack entries, or -1
for allvoid printStackTrace(PrintStream s, int causeDepth, int stackDepth)
printStackTrace
method, similar to Throwable#printStackTrace(PrintStream, int, int)
.s
- output streamcauseDepth
- the maximum depth for causes, or -1
for allstackDepth
- the maximum depth for stack entries, or -1
for all