RFR 8252265: Replace @exception with @throws java.util.logging package

Daniel Fuchs daniel.fuchs at oracle.com
Wed Aug 26 17:01:42 UTC 2020


Hi Lance,

On 26/08/2020 17:55, Lance Andersen wrote:
> I did find it strange that FileHandler had a few methods which listed IllegalArgumentException multiple times (vs. including the possible scenarios for the exception as part of 1 @throws) as I have not noticed that elsewhere in the JDK but perhaps I have missed it.

I wish that were the only odd thing in this API ;-)

It also jumped at me and I double checked - javadoc handles
that gracefully:

https://docs.oracle.com/en/java/javase/14/docs/api/java.logging/java/util/logging/FileHandler.html#%3Cinit%3E(java.lang.String,int,int,boolean)

best regards,

-- daniel


More information about the core-libs-dev mailing list