jdk/src/share/classes/java/lang/reflect/Method.java
changeset 3941 7b53330adf8f
parent 3712 8851d55adef0
child 3959 05a07c0a273b
equal deleted inserted replaced
3900:ce74bd35ce94 3941:7b53330adf8f
   315      * Returns an array of {@code Type} objects that represent the
   315      * Returns an array of {@code Type} objects that represent the
   316      * exceptions declared to be thrown by this {@code Method} object.
   316      * exceptions declared to be thrown by this {@code Method} object.
   317      * Returns an array of length 0 if the underlying method declares
   317      * Returns an array of length 0 if the underlying method declares
   318      * no exceptions in its {@code throws} clause.
   318      * no exceptions in its {@code throws} clause.
   319      *
   319      *
   320      * <p>If an exception type is a parameterized type, the {@code Type}
       
   321      * object returned for it must accurately reflect the actual type
       
   322      * parameters used in the source code.
       
   323      *
       
   324      * <p>If an exception type is a type variable or a parameterized
   320      * <p>If an exception type is a type variable or a parameterized
   325      * type, it is created. Otherwise, it is resolved.
   321      * type, it is created. Otherwise, it is resolved.
   326      *
   322      *
   327      * @return an array of Types that represent the exception types
   323      * @return an array of Types that represent the exception types
   328      *     thrown by the underlying method
   324      *     thrown by the underlying method