saker.build Documentation TaskDoc JavaDoc Packages
public interface SakerLog.ExceptionFormat
Interface for defining how a given exception should be displayed to the stream.

Methods
public boolean
Checks if the specified stack trace element should be included in the displayed stack trace.
public default boolean
Checks if the script trace should be included in the displayed exception trace.
public boolean
Checks if a count line should be displayed in the place of skipped stack trace elements.
public abstract boolean includeStackTraceElement(StackTraceElement elem)
Checks if the specified stack trace element should be included in the displayed stack trace.
elemThe stack trace element.
true to include it in the printed stack trace.
public default boolean isIncludeScriptTrace()
Checks if the script trace should be included in the displayed exception trace.

The default implementation returns true.

true to print the script trace.
public abstract boolean isIncludeSkippedCount()
Checks if a count line should be displayed in the place of skipped stack trace elements.
true to print a skip count.