Author: fanningpj
Date: Sun Feb 19 08:25:12 2023
New Revision: 1907747

URL: http://svn.apache.org/viewvc?rev=1907747&view=rev
Log:
build issue

Modified:
    
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/util/ExceptionUtil.java

Modified: 
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/util/ExceptionUtil.java
URL: 
http://svn.apache.org/viewvc/xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/util/ExceptionUtil.java?rev=1907747&r1=1907746&r2=1907747&view=diff
==============================================================================
--- 
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/util/ExceptionUtil.java 
(original)
+++ 
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/util/ExceptionUtil.java 
Sun Feb 19 08:25:12 2023
@@ -43,10 +43,12 @@ public class ExceptionUtil {
     /**
      * Designed to be used in conjunction with {@link #isFatal(Throwable)}.
      * This method should be used with care.
+     * <p>
+     *     The input throwable is thrown if it is an <code>Error</code> or 
<code>RuntimeException</code>.
+     *     Otherwise, the method wraps the throwable in a RuntimeException and 
rethrows that.
+     * </p>
      *
      * @param throwable to check
-     * @throws Throwable the input throwable if it is an <code>Error</code> or 
<code>RuntimeException</code>.
-     * Otherwise wraps the throwable in a RuntimeException.
      */
     public static void rethrow(Throwable throwable) {
         if (throwable instanceof Error) {



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to