Upcoming Free JUG / Java EE Events
- Belfast JUG: Europa Ballroom at 5:30pm on Monday, 17 November Java EE Patterns, Anti-Patterns & Cool New Features
- Munich, 2nd December, NetBeans Day, 9 AM - 6 PM From AngularJS to Java EE Backend (of course fully microservices compatible :-))
- Tricity JUG, 4th December, Gdansk (register) Building Reasonable Java EE 7 Apps on Java 8 called "Microservices" A follow-up of the Nano services talk in Malmö and the "Pico Services" talk at devoxx 2014
- Any questions left? See you at: 1st December, 6 P.M. CET: 9th Airhacks Questions & Answers, also see archive http://airhacks.tv Ask here, or comment on this post.
See you at Java EE Workshops at Munich Airport, Terminal 2 or online course: airhacks.io!
With Java 8 and streams I do not really get how the exception handling should work when composing several functions?
I would like to write the following:
Arrays.stream((File[]) files).flatMap(file -> Files.lines(file.toPath()));
The compiler says there is an unhandled IOException at "Files.lines(...)"
Putting try catch around this statement does not work and declaring a throws not as well.
Posted by Michael on November 13, 2014 at 11:35 AM CET #