SeamFramework.orgCommunity Documentation

Chapter 27. Exception handling - Advanced Features

27.1. Exception Modification
27.1.1. Introduction
27.1.2. Usage
27.2. Filtering Stack Traces
27.2.1. Introduction
27.2.2. ExceptionStackOutput
27.2.3. StackFrameFilter
27.2.4. StackFrameFilterResult
27.2.5. StackFrame

This contains methods to help aid in determining what to do in the filter, it also allows you to completely replace the StackTraceElement if desired. The four "mark" methods deal with marking a stack trace and are used if "folding" a stack trace is desired, instead of dropping the frame. The StackFrame will allow for multiple marks to be set. The last method,getIndex(), will return the index of the StackTraceElement from the exception.