public static class ThrowableSet.Pair extends Object
ThrowableSet.whichCatchableAs(RefType)
, consisting of a pair of ThrowableSets.Modifier | Constructor and Description |
---|---|
protected |
Pair(ThrowableSet caught,
ThrowableSet uncaught)
Constructs a
ThrowableSet.Pair . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Indicates whether two
Object s are ThrowableSet.Pair s representing the same set of caught and
uncaught exception types. |
ThrowableSet |
getCaught() |
ThrowableSet |
getUncaught() |
int |
hashCode() |
protected Pair(ThrowableSet caught, ThrowableSet uncaught)
ThrowableSet.Pair
.caught
- The set of exceptions to be returned when getCaught()
is called on the constructed
ThrowableSet.Pair
.uncaught
- The set of exceptions to be returned when getUncaught()
is called on the constructed
ThrowableSet.Pair
.public ThrowableSet getCaught()
public ThrowableSet getUncaught()
public boolean equals(Object o)
Object
s are ThrowableSet.Pair
s representing the same set of caught and
uncaught exception types.Copyright © 2020 Sable. All rights reserved.