CloseableStream exceptions [was: Re: experience trying out lambda-8-b74]

Peter Levart peter.levart at
Mon Feb 4 13:31:32 PST 2013

On 02/04/2013 09:45 PM, Alan Bateman wrote:
> 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 or NIO) 
> then it involves checked IOExceptions, irrespective of whether the 
> method to get the CloseableStream throws checked or unexpected exceptions.
Oh yes, I've forgot that getting Path(s) is only half-way....

Regards, Peter

> -Alan

More information about the lambda-dev mailing list