A sample implementation of the Try class missing in Java 8