diff --git a/vraptor-core/src/main/java/br/com/caelum/vraptor/core/Try.java b/vraptor-core/src/main/java/br/com/caelum/vraptor/core/Try.java index 1fe8fbc5f..b38651b79 100644 --- a/vraptor-core/src/main/java/br/com/caelum/vraptor/core/Try.java +++ b/vraptor-core/src/main/java/br/com/caelum/vraptor/core/Try.java @@ -7,16 +7,7 @@ * * Use the static method Try#run to instantiate this class, passing down * the dangerous code and use its methods to retrieve the result or the exception - * of your computation. Example using java 8: - * - * - * Try try = Try.run(() -> someDangerousMethod()); - * if (try.failed()) { - * Exception e = try.getException(); - * handleError(e); - * } - * try.result(); //do something with the result - * + * of your computation. * * @author Chico Sokol * @param the type of the result of your computation