Class IgnoreExceptionsFilter
java.lang.Object
com.ibm.wala.ipa.cfg.exceptionpruning.filter.IgnoreExceptionsFilter
- All Implemented Interfaces:
ExceptionFilter<SSAInstruction>
For filtering specific exceptions.
- Author:
- Stephan Gocht
<stephan@gobro.de>
-
Constructor Summary
ConstructorDescriptionIgnoreExceptionsFilter
(TypeReference toBeIgnored) The given exception and subclasses will be ignored.IgnoreExceptionsFilter
(Collection<TypeReference> toBeIgnored) All given exceptions and subclasses will be ignored. -
Method Summary
Modifier and TypeMethodDescriptionboolean
alwaysThrowsException
(SSAInstruction instruction) filteredExceptions
(SSAInstruction instruction)
-
Constructor Details
-
IgnoreExceptionsFilter
All given exceptions and subclasses will be ignored. -
IgnoreExceptionsFilter
The given exception and subclasses will be ignored.
-
-
Method Details
-
alwaysThrowsException
- Specified by:
alwaysThrowsException
in interfaceExceptionFilter<SSAInstruction>
- Returns:
- if the instruction does always throw an exception
-
filteredExceptions
- Specified by:
filteredExceptions
in interfaceExceptionFilter<SSAInstruction>
- Returns:
- a list of exceptions, which have to be filtered for the given instruction
-