GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
com.jogamp.common.ExceptionUtils.CustomStackTrace Interface Reference

Interface allowing Throwable specializations to provide their custom stack trace presentation. More...

Inheritance diagram for com.jogamp.common.ExceptionUtils.CustomStackTrace:
Collaboration diagram for com.jogamp.common.ExceptionUtils.CustomStackTrace:

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...
 

Detailed Description

Interface allowing Throwable specializations to provide their custom stack trace presentation.

Since
2.3.2

Definition at line 64 of file ExceptionUtils.java.

Member Function Documentation

◆ printCauseStack()

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!

Parameters
soutput stream
causeStrthe cause title
causeIdxthe cause index over all causes known by caller
stackDepththe maximum depth for stack entries, or -1 for all
Since
2.3.2

Implemented in com.jogamp.common.util.SourcedInterruptedException.

◆ printStackTrace()

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).

Parameters
soutput stream
causeDepththe maximum depth for causes, or -1 for all
stackDepththe maximum depth for stack entries, or -1 for all

Implemented in com.jogamp.common.util.SourcedInterruptedException.


The documentation for this interface was generated from the following file: