Package soot.toolkits.exceptions
Class ThrowableSet.Pair
- java.lang.Object
-
- soot.toolkits.exceptions.ThrowableSet.Pair
-
- Enclosing class:
- ThrowableSet
public static class ThrowableSet.Pair extends Object
The return type forThrowableSet.whichCatchableAs(RefType), consisting of a pair of ThrowableSets.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPair(ThrowableSet caught, ThrowableSet uncaught)Constructs aThrowableSet.Pair.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Indicates whether twoObjects areThrowableSet.Pairs representing the same set of caught and uncaught exception types.ThrowableSetgetCaught()ThrowableSetgetUncaught()inthashCode()
-
-
-
Constructor Detail
-
Pair
protected Pair(ThrowableSet caught, ThrowableSet uncaught)
Constructs aThrowableSet.Pair.- Parameters:
caught- The set of exceptions to be returned whengetCaught()is called on the constructedThrowableSet.Pair.uncaught- The set of exceptions to be returned whengetUncaught()is called on the constructedThrowableSet.Pair.
-
-
Method Detail
-
getCaught
public ThrowableSet getCaught()
- Returns:
- the set of caught exceptions.
-
getUncaught
public ThrowableSet getUncaught()
- Returns:
- the set of uncaught exceptions.
-
equals
public boolean equals(Object o)
Indicates whether twoObjects areThrowableSet.Pairs representing the same set of caught and uncaught exception types.
-
-