Java 8

Try-Success-Failure API for Java 8

Try-Success-Failure API: Java implementation of the famous Scala counterpart Source code: Try-Success-Failure API for Java This API is a Java implementation of Scala Try API, originally implemented by the guys at Twitter and later added to the Scala Standard Library. The Try type represents a computation that may fail. If the computation is successful returns the value wrapped in a Try.Success otherwise returns the java.lang.Exception wrapped in a Try.Failure. To use Try you need to call the Try.