Upcoming Free JUG / Java EE Events

  1. Belfast JUG: Europa Ballroom at 5:30pm on Monday, 17 November Java EE Patterns, Anti-Patterns & Cool New Features
  2. Munich, 2nd December, NetBeans Day, 9 AM - 6 PM From AngularJS to Java EE Backend (of course fully microservices compatible :-))
  3. 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
  4. 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!


NEW online workshop: WebStandards Igniter (online)

Airport MUC workshops: Java EE 8, Java 9: Bootstrap, Effective, Architectures, Single Page Apps, Progressive Web Apps, HTML 5, ES 6, CSS 3 and Microservices

Podcast: airhacks.fm and newsletter: airhacks.news

A book about rethinking Java EE Patterns

Comments:

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 #

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
Online Workshops
...the last 150 posts
...the last 10 comments
License