tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r561731 - /openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java
Date Wed, 01 Aug 2007 09:22:34 GMT
Author: dblevins
Date: Wed Aug  1 02:22:33 2007
New Revision: 561731

URL: http://svn.apache.org/viewvc?view=rev&rev=561731
Log:
Better exception description

Modified:
    openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java

Modified: openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java?view=diff&rev=561731&r1=561730&r2=561731
==============================================================================
--- openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java
(original)
+++ openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java
Wed Aug  1 02:22:33 2007
@@ -167,9 +167,9 @@
             }
         } catch (Throwable oe) {
             if (remote) {
-                throw new RemoteException("Unknown Container Exception", oe.getCause());
+                throw new RemoteException("Unknown Client Exception", oe);
             } else {
-                throw new EJBException("Unknown Container Exception").initCause(oe.getCause());
+                throw new EJBException("Unknown Client Exception").initCause(oe);
             }
         }
 



Mime
View raw message