for exceptions that has only two classes (true and
false). Classifies objects according to their inheritance relation with the
supplied types. If the object to be classified is one of the provided types,
or is a subclass of one of the types, then the non-default value is returned
Create a binary exception classifier with the provided default value. All
exceptions will classify as this value unless
is used to narrow the field.
defaultValue defaults to false
Create a binary exception classifier with the default value (false). All
exceptions will classify as false.
Create a binary exception classifier with the provided classes and their
subclasses. The mapped value for these exceptions will be the one
provided (which will be the opposite of the default).
Create a binary exception classifier with the default value false and
value mapping true for the provided classes and their subclasses.
Set of Throwable class types to keys for the classifier. Any subclass of
the type provided will be classified as of non-default type.
types the types to classify as non-default