|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Interface allowing Throwable specializations to provide their custom stack trace presentation.
More...
Public Member Functions | |
| void | printCauseStack (final PrintStream s, final String causeStr, final int causeIdx, final int stackDepth) |
Prints this Throwable as a cause to the output PrintStream s, not iterating over all inner causes! More... | |
| void | printStackTrace (final PrintStream s, final int causeDepth, final int stackDepth) |
Custom printStackTrace method, similar to Throwable#printStackTrace(PrintStream, int, int). More... | |
Interface allowing Throwable specializations to provide their custom stack trace presentation.
Definition at line 64 of file ExceptionUtils.java.
| void com.jogamp.common.ExceptionUtils.CustomStackTrace.printCauseStack | ( | final PrintStream | s, |
| final String | causeStr, | ||
| final int | causeIdx, | ||
| final int | stackDepth | ||
| ) |
Prints this Throwable as a cause to the output PrintStream s, not iterating over all inner causes!
| s | output stream |
| causeStr | the cause title |
| causeIdx | the cause index over all causes known by caller |
| stackDepth | the maximum depth for stack entries, or -1 for all |
Implemented in com.jogamp.common.util.SourcedInterruptedException.
| void com.jogamp.common.ExceptionUtils.CustomStackTrace.printStackTrace | ( | final PrintStream | s, |
| final int | causeDepth, | ||
| final int | stackDepth | ||
| ) |
Custom printStackTrace method, similar to Throwable#printStackTrace(PrintStream, int, int).
| s | output stream |
| causeDepth | the maximum depth for causes, or -1 for all |
| stackDepth | the maximum depth for stack entries, or -1 for all |
Implemented in com.jogamp.common.util.SourcedInterruptedException.