Vote count:
0
Java 8 officially introduce java.io.UncheckedIOException
to JDK class libraries for lambda with Stream API, because lambda expressions can't declare its throws
-clause and lambda body can't throw checked exception such as IOException
.
What's idiom/best practice with UncheckedIOException
and Stream API? What conditions do I explicitly throw new UncheckedIOException
object, and when should I catch UncheckedIOException
exception?
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire