User: pathoss
Date: 02/05/20 04:22:39
Modified: core/src/xdoclet Tag: MODULE_REFACTORING_BRANCH
XDocletMain.java
Log:
Cleanup.
Revision Changes Path
No revision
No revision
1.7.2.7 +4 -14 xdoclet/core/src/xdoclet/XDocletMain.java
Index: XDocletMain.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/XDocletMain.java,v
retrieving revision 1.7.2.6
retrieving revision 1.7.2.7
diff -u -w -r1.7.2.6 -r1.7.2.7
--- XDocletMain.java 13 May 2002 22:24:17 -0000 1.7.2.6
+++ XDocletMain.java 20 May 2002 11:22:39 -0000 1.7.2.7
@@ -26,9 +26,9 @@
public class XDocletMain
{
/**
- * Describe what the method does
+ * Starts XDoclet
*
- * @exception Exception Describe the exception
+ * @exception Exception
*/
protected void start() throws Exception
{
@@ -42,7 +42,7 @@
for (int i = 0; i < subtasks.length; i++) {
if (subtasks[i] != null) {
if (log.isDebugEnabled()) {
- log.debug("SubTask " + subtasks[i].getSubTaskName() +
"Initialized.");
+ log.debug("SubTask " + subtasks[i].getSubTaskName() + "
initialized.");
}
subtasks[i].init();
@@ -53,15 +53,6 @@
}
}
}
- /*
- * catch (IOException e) {
- * System.out.println("Couldn't read context");
- * if (cat.isDebugEnabled()) {
- * cat.error("IOException", e);
- * }
- * throw new XJavaDocException(e.getMessage());
- * }
- */
catch (XDocletException e) {
log.error(Translator.getString("running_failed"));
log.error("<<" + e.getMessage() + ">>");
@@ -79,8 +70,7 @@
}
}
e.printStackTrace();
- throw new RuntimeException("Error running XDoclet");
+ throw new RuntimeException("Error running XDoclet: " + e.getMessage());
}
}
}
-
_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel