This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jelly.git
commit 319e375d2880edd36ea33337e2777f9f1f45e3f1 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Jun 23 15:28:10 2023 -0400 Deprecate NestedRuntimeException for RuntimeException --- .../org/apache/commons/jelly/util/NestedRuntimeException.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/core/src/main/java/org/apache/commons/jelly/util/NestedRuntimeException.java b/core/src/main/java/org/apache/commons/jelly/util/NestedRuntimeException.java index 85f2defa..625f992b 100644 --- a/core/src/main/java/org/apache/commons/jelly/util/NestedRuntimeException.java +++ b/core/src/main/java/org/apache/commons/jelly/util/NestedRuntimeException.java @@ -17,15 +17,12 @@ package org.apache.commons.jelly.util; -import java.io.PrintStream; -import java.io.PrintWriter; - /** * A {@link RuntimeException} which is nested to preserve stack traces. - * + * <p> * This class allows the following code to be written to convert a regular * Exception into a {@link RuntimeException} without losing the stack trace. - * + * </p> * <pre> * try { * ... @@ -33,8 +30,6 @@ import java.io.PrintWriter; * throw new RuntimeException(e); * } * </pre> - * - * @author James Strachan * @deprecated Use {@link RuntimeException}. */ @Deprecated