geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: rev 75998 - geronimo/trunk/modules/derby-connector/src/java/org/apache/geronimo/derby/connector
Date Tue, 16 Nov 2004 18:02:10 GMT
Author: djencks
Date: Tue Nov 16 10:02:09 2004
New Revision: 75998

Modified:
   geronimo/trunk/modules/derby-connector/src/java/org/apache/geronimo/derby/connector/DerbyXAManagedConnectionFactory.java
Log:
Simplified exception sorter handling.  You have to supply it in the constructor.

Modified: geronimo/trunk/modules/derby-connector/src/java/org/apache/geronimo/derby/connector/DerbyXAManagedConnectionFactory.java
==============================================================================
--- geronimo/trunk/modules/derby-connector/src/java/org/apache/geronimo/derby/connector/DerbyXAManagedConnectionFactory.java
(original)
+++ geronimo/trunk/modules/derby-connector/src/java/org/apache/geronimo/derby/connector/DerbyXAManagedConnectionFactory.java
Tue Nov 16 10:02:09 2004
@@ -10,9 +10,8 @@
  */
 public class DerbyXAManagedConnectionFactory extends AbstractXADataSourceMCF{
 
-    public DerbyXAManagedConnectionFactory() throws IllegalAccessException, InstantiationException,
ClassNotFoundException {
-        super(new EmbeddedXADataSource());
-        setExceptionSorterClass(NoExceptionsAreFatalSorter.class.getName());
+    public DerbyXAManagedConnectionFactory() {
+        super(new EmbeddedXADataSource(), new NoExceptionsAreFatalSorter());
     }
 
     EmbeddedXADataSource getDerbyXADS() {

Mime
View raw message