Method j.u.Optional.orElseThrow(Class<V> exceptionClass) says "Exception will be thrown with the message "No value present"." However thrown exception contains no message. The same thing with OptionalDouble, OptionalInt, OptionalLong -Dmitry