public class ExceptionExcludedOffsetFilter extends Object implements ExceptionInfoVisitor
ExceptionInfoVisitor delegates its visits to another given
ExceptionInfoVisitor, but only when the visited exception
does not cover the instruction at the given offset.| Constructor and Description |
|---|
ExceptionExcludedOffsetFilter(int instructionOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
Creates a new ExceptionExcludedOffsetFilter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
visitExceptionInfo(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
ExceptionInfo exceptionInfo) |
public ExceptionExcludedOffsetFilter(int instructionOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
instructionOffset - the instruction offset.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.