Changes in new versions / Java 10

Optional.orElseThrow without arguments

This example is in the full version, available in the app stores: