diff options
author | PJ Fanning <fanningpj@apache.org> | 2023-02-14 15:03:26 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2023-02-14 15:03:26 +0000 |
commit | d07d8e42b9d961a86a9adc09226bfb86e5b2b211 (patch) | |
tree | bf9e7b584c96804e9ae9d587c97a4ab0e0754f68 /poi-excelant | |
parent | f6cec39ba2f2abab5c668b8109f01d5be79125e2 (diff) | |
download | poi-d07d8e42b9d961a86a9adc09226bfb86e5b2b211.tar.gz poi-d07d8e42b9d961a86a9adc09226bfb86e5b2b211.zip |
revert use of ExceptionUtil on caught exceptions (not useful)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907654 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-excelant')
-rw-r--r-- | poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntTask.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntTask.java b/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntTask.java index a4bfba9f66..4fc0b09914 100644 --- a/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntTask.java +++ b/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntTask.java @@ -24,7 +24,6 @@ import java.util.Locale; import org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil; import org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtilFactory; -import org.apache.poi.util.ExceptionUtil; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; import org.apache.tools.ant.Task; @@ -105,9 +104,6 @@ public class ExcelAntTask extends Task { try { workbookUtil.addFunction(eaUdf.getFunctionAlias(), eaUdf.getClassName()); } catch (Exception e) { - if (ExceptionUtil.isFatal(e)) { - ExceptionUtil.rethrow(e); - } throw new BuildException(e.getMessage(), e); } } @@ -148,9 +144,6 @@ public class ExcelAntTask extends Task { Class.forName("org.apache.poi.hssf.usermodel.HSSFWorkbook"); Class.forName("org.apache.poi.ss.usermodel.WorkbookFactory"); } catch (Exception e) { - if (ExceptionUtil.isFatal(e)) { - ExceptionUtil.rethrow(e); - } throw new BuildException( "The <classpath> for <excelant> must include poi.jar and poi-ooxml.jar " + "if not in Ant's own classpath. Processing .xlsx spreadsheets requires " + |