tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r816017 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityInstanceManager.java
Date Thu, 17 Sep 2009 00:24:37 GMT
Author: dblevins
Date: Thu Sep 17 00:24:37 2009
New Revision: 816017

URL: http://svn.apache.org/viewvc?rev=816017&view=rev
Log:
OPENEJB-1075: Workaround for Sun JDK RemoteException initCause bug

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityInstanceManager.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityInstanceManager.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityInstanceManager.java?rev=816017&r1=816016&r2=816017&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityInstanceManager.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityInstanceManager.java
Thu Sep 17 00:24:37 2009
@@ -153,7 +153,7 @@
                     bean.ejbLoad();
                 } catch (NoSuchEntityException e) {
                     wrapper.disassociate();
-                    throw new InvalidateReferenceException(new NoSuchObjectException("Entity
not found: " + primaryKey).initCause(e));
+                    throw new InvalidateReferenceException(new NoSuchObjectException("Entity
not found: " + primaryKey, e));
                 } catch (Exception e) {
                     logger.error("Exception encountered during ejbLoad():", e);
                     //djencks not sure about this dissociate call



Mime
View raw message