Author: pnguyen
Date: 2010-03-31 16:34:31 -0700 (Wed, 31 Mar 2010)
New Revision: 14457
URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14457
Modified:
trunk/src/org/hyperic/hq/bizapp/server/session/AppdefBossEJBImpl.java
Log:
[HHQ-3772] Log the exception as a warning and continue with the delete process.
Modified: trunk/src/org/hyperic/hq/bizapp/server/session/AppdefBossEJBImpl.java
===================================================================
--- trunk/src/org/hyperic/hq/bizapp/server/session/AppdefBossEJBImpl.java 2010-03-31 21:20:27 UTC (rev 14456)
+++ trunk/src/org/hyperic/hq/bizapp/server/session/AppdefBossEJBImpl.java 2010-03-31 23:34:31 UTC (rev 14457)
@@ -1329,8 +1329,11 @@
throw new VetoException("Could not remove resource " + aeid +
" because a downtime schedule exists.");
}
- } catch (SchedulerException se) {
- throw new ApplicationException(se);
+ } catch (Throwable t) {
+ // HHQ-3772: This should not happen. However, if it does,
+ // log the exception as a warning and continue with the delete.
+ log.warn("Failure getting the downtime schedule for group[" + aeid + "]. "
+ + "Ignoring and continuing with the delete process.", t);
}
}
if (res == null) {
|