Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/monitoringApplicationContext.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/monitoringApplicationContext.xml,v
diff -u -r1.4 -r1.5
--- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/monitoringApplicationContext.xml 22 Dec 2005 01:25:33 -0000 1.4
+++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/monitoringApplicationContext.xml 19 Jan 2006 03:10:19 -0000 1.5
@@ -62,6 +62,7 @@
PROPAGATION_REQUIRED
PROPAGATION_REQUIRED
PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
PROPAGATION_REQUIRED
PROPAGATION_REQUIRED
Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java
===================================================================
RCS file: /usr/local/cvsroot/lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java,v
diff -u -r1.33 -r1.34
--- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java 19 Jan 2006 01:26:49 -0000 1.33
+++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java 19 Jan 2006 03:10:19 -0000 1.34
@@ -349,7 +349,7 @@
Lesson requestedLesson = lessonDAO.getLesson(new Long(lessonId));
if ( requestedLesson == null) {
- throw new MonitoringServiceException("Lesson for id="+lessonId+" is missing. Unable to start lesson.");
+ throw new MonitoringServiceException("Lesson for id="+lessonId+" is missing. Unable to archive lesson.");
}
requestedLesson.setLessonStateId(Lesson.ARCHIVED_STATE);
@@ -362,7 +362,7 @@
public void removeLesson(long lessonId) {
Lesson requestedLesson = lessonDAO.getLesson(new Long(lessonId));
if ( requestedLesson == null) {
- throw new MonitoringServiceException("Lesson for id="+lessonId+" is missing. Unable to start lesson.");
+ throw new MonitoringServiceException("Lesson for id="+lessonId+" is missing. Unable to remove lesson.");
}
requestedLesson.setLessonStateId(Lesson.DISABLED_STATE);