src/share/classes/java/lang/reflect/Method.java

Print this page

        

*** 315,328 **** * Returns an array of {@code Type} objects that represent the * exceptions declared to be thrown by this {@code Method} object. * Returns an array of length 0 if the underlying method declares * no exceptions in its {@code throws} clause. * - * <p>If an exception type is a parameterized type, the {@code Type} - * object returned for it must accurately reflect the actual type - * parameters used in the source code. - * * <p>If an exception type is a type variable or a parameterized * type, it is created. Otherwise, it is resolved. * * @return an array of Types that represent the exception types * thrown by the underlying method --- 315,324 ----