Implementation of the Try-Success-Failure Scala API for Java