aboutsummaryrefslogtreecommitdiffstats
path: root/src/excelant/java/org/apache
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2014-10-25 21:32:03 +0000
committerAndreas Beeker <kiwiwings@apache.org>2014-10-25 21:32:03 +0000
commitc828d44a84b1407179014a49fd391b82023e70c5 (patch)
tree4debb5e7df8a838ef5d534c24a7ed7451b609a05 /src/excelant/java/org/apache
parent1499778fddf4134b429bf346efc6e67998dc8c2e (diff)
downloadpoi-c828d44a84b1407179014a49fd391b82023e70c5.tar.gz
poi-c828d44a84b1407179014a49fd391b82023e70c5.zip
house keeping - fixes for sonarqube blockers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1634255 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/excelant/java/org/apache')
-rw-r--r--src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTask.java b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTask.java
index 23798e499e..4224969887 100644
--- a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTask.java
+++ b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTask.java
@@ -175,7 +175,7 @@ public class ExcelAntTask extends Task {
try {
Class.forName("org.apache.poi.hssf.usermodel.HSSFWorkbook");
Class.forName("org.apache.poi.ss.usermodel.WorkbookFactory");
- } catch (Throwable e) {
+ } catch (Exception 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 " +