SeamFramework.orgCommunity Documentation

Chapter 19. Exception handling - Advanced Features

19.1. Exception Modification
19.1.1. Introduction
19.1.2. Usage
19.2. Filtering Stack Traces
19.2.1. Introduction
19.2.2. ExceptionStackOutput
19.2.3. StackFrameFilter
19.2.4. StackFrameFilterResult
19.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.