CloseableStream exceptions [was: Re: experience trying out lambda-8-b74]
Alan.Bateman at oracle.com
Mon Feb 4 12:45:45 PST 2013
On 04/02/2013 20:35, Peter Levart wrote:
> Are the specific IOExceptions only relevant when creating the stream
> or also when consuming and/or closing it?
Opening files/directories mostly (although many of the operations on
files that are nothing to do with streams can specify specific
exceptions too). As soon as you do I/O (either classic java.io or NIO)
then it involves checked IOExceptions, irrespective of whether the
method to get the CloseableStream throws checked or unexpected exceptions.
More information about the lambda-dev