peterreilly 2004/09/08 04:26:00
Modified: src/main/org/apache/tools/ant/launch Tag: ANT_16_BRANCH
Launcher.java
Log:
sync
Revision Changes Path
No revision
No revision
1.5.2.16 +1 -13 ant/src/main/org/apache/tools/ant/launch/Launcher.java
Index: Launcher.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/launch/Launcher.java,v
retrieving revision 1.5.2.15
retrieving revision 1.5.2.16
diff -u -r1.5.2.15 -r1.5.2.16
--- Launcher.java 8 Sep 2004 09:44:35 -0000 1.5.2.15
+++ Launcher.java 8 Sep 2004 11:26:00 -0000 1.5.2.16
@@ -222,19 +222,7 @@
AntMain main = (AntMain) mainClass.newInstance();
main.startAnt(newArgs, null, null);
} catch (Throwable t) {
- if (t instanceof InstantiationException) {
- t.printStackTrace();
- InstantiationException ie = (InstantiationException) t;
- if (ie.getCause() == null) {
- System.err.println("Instantiation Exception - root
cause: "
- + ie.getCause());
- } else {
- System.err.println("Instantiation Exception - root
cause:");
- ie.getCause().printStackTrace();
- }
- } else {
- t.printStackTrace();
- }
+ t.printStackTrace();
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]