6881498: (file) Re-examine DirectoryStream exception handling
Alan Bateman
Alan.Bateman at oracle.com
Fri Sep 10 08:29:47 PDT 2010
Rémi Forax wrote:
> :
> Looks good.
> Only one comment, DirectoryIteratorException should have a constructor
> that
> takes an IOException and a message.
> Some implementations may want to provide a specific message.
>
> Rémi
Thanks for reviewing this. I didn't include a second constructor as this
is a very specific exception and the detail is in the required cause.
Maybe for consistency it should be added. If it's okay with you, I'll
push what we have now and create a bug to track thinking about this one.
-Alan.
More information about the nio-dev
mailing list