question: private boolean methodThrowsException ( Method method , Class < ? extends Exception > exceptionType ) { for ( Class < ? > thrownType : method . getExceptionTypes ( ) ) { if ( exceptionType . isAssignableFrom ( thrownType ) ) return true ; } return false ; }
target:  Returns whether the given method throws the specified exception type, including any subclasses of that type.