public class ExceptionHandlerFilter extends Object implements ExceptionInfoVisitor
ExceptionInfoVisitor delegates its visits to another given
ExceptionInfoVisitor, but only when the visited exception
targets an instruction in the given range of offsets.| Constructor and Description |
|---|
ExceptionHandlerFilter(int startOffset,
int endOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
Creates a new ExceptionHandlerFilter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
visitExceptionInfo(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
ExceptionInfo exceptionInfo) |
public ExceptionHandlerFilter(int startOffset,
int endOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
startOffset - the start of the instruction offset range.endOffset - the end of the instruction offset range.exceptionInfoVisitor - the ExceptionInfoVisitor to which visits
will be delegated.public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
visitExceptionInfo in interface ExceptionInfoVisitorCopyright © 2015. All Rights Reserved.