[jboss-cvs] JBossAS SVN: r65451 - branches/Branch_4_2/server/src/main/org/jboss/ejb/txtimer.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 18 12:13:59 EDT 2007
Author: dimitris at jboss.org
Date: 2007-09-18 12:13:59 -0400 (Tue, 18 Sep 2007)
New Revision: 65451
Modified:
branches/Branch_4_2/server/src/main/org/jboss/ejb/txtimer/TimerServiceImpl.java
Log:
JBAS-4053, throw an EJBException on system-level failure, don't eat up the exception.
Modified: branches/Branch_4_2/server/src/main/org/jboss/ejb/txtimer/TimerServiceImpl.java
===================================================================
--- branches/Branch_4_2/server/src/main/org/jboss/ejb/txtimer/TimerServiceImpl.java 2007-09-18 15:24:50 UTC (rev 65450)
+++ branches/Branch_4_2/server/src/main/org/jboss/ejb/txtimer/TimerServiceImpl.java 2007-09-18 16:13:59 UTC (rev 65451)
@@ -259,9 +259,8 @@
}
catch (Exception e)
{
- log.error("Cannot create txtimer", e);
- return null;
- }
+ throw new EJBException("Failed to create timer", e);
+ }
}
/**
More information about the jboss-cvs-commits
mailing list