Author: fanningpj
Date: Sun Feb 19 18:54:56 2023
New Revision: 1907761
URL: http://svn.apache.org/viewvc?rev=1907761&view=rev
Log:
build issue
Modified:
poi/trunk/poi/src/main/java/org/apache/poi/util/ExceptionUtil.java
Modified: poi/trunk/poi/src/main/java/org/apache/poi/util/ExceptionUtil.java
URL:
http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/util/ExceptionUtil.java?rev=1907761&r1=1907760&r2=1907761&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/util/ExceptionUtil.java
(original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/util/ExceptionUtil.java Sun Feb
19 18:54:56 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]