|
From: Gerry D. <gd...@us...> - 2002-06-11 15:50:08
|
Update of /cvsroot/swapdv/swapdv/Scheduler/queue
In directory usw-pr-cvs1:/tmp/cvs-serv29659/Scheduler/queue
Modified Files:
schdEvent.java
Log Message:
Changed all println()'s over the Logger.logs, added --debug switch and initial deleteShowActions
Index: schdEvent.java
===================================================================
RCS file: /cvsroot/swapdv/swapdv/Scheduler/queue/schdEvent.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- schdEvent.java 9 Jun 2002 18:58:58 -0000 1.8
+++ schdEvent.java 11 Jun 2002 15:50:04 -0000 1.9
@@ -37,6 +37,7 @@
import swapdv.Persistance.*;
import java.util.*;
import java.text.*;
+import swapdv.Logger.*;
public class schdEvent implements schdEventI, pStoreSerializable {
private Vector changeListeners = null;
@@ -598,8 +599,7 @@
try {
theAction.doAction(this);
} catch (Exception actionError) {
- System.out.println("Unexpected exception processing action " + theAction.getDescription() + " for event " + eventDescription);
- System.out.println("Exception: " + actionError.getMessage());
+ Logger.log(0, LoggerI.LEVEL_DEBUG, "Exception in action " + theAction.getDescription() + " for event " + eventDescription + ", " + actionError.getMessage());
actionError.printStackTrace();
}
}
|