public static < T extends MethodDescription > ElementMatcher . Junction < T > declaresGenericException ( ElementMatcher < ? super Iterable < ? extends TypeDescription . Generic > > matcher ) { return new MethodExceptionTypeMatcher < T > ( matcher ) ; }
Matches a method s generic exception types against the provided matcher .