tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r610211 - /openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java
Date Tue, 08 Jan 2008 22:50:24 GMT
Author: dblevins
Date: Tue Jan  8 14:50:21 2008
New Revision: 610211

URL: http://svn.apache.org/viewvc?rev=610211&view=rev
Log:
reformatted

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

Modified: openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java?rev=610211&r1=610210&r2=610211&view=diff
==============================================================================
--- openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java
(original)
+++ openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java
Tue Jan  8 14:50:21 2008
@@ -93,9 +93,9 @@
             // Interface class must be listed first, before EJBObjectProxy,
             // otherwise the proxy code will selectï the openejb system class
             // loader for proxy creation instead of the application class loader
-            if (ejb.remoteClass != null){
+            if (ejb.remoteClass != null) {
                 interfaces.add(ejb.remoteClass);
-            } else if (ejb.businessClasses.size() > 0){
+            } else if (ejb.businessClasses.size() > 0) {
                 interfaces.addAll(ejb.businessClasses);
             }
             interfaces.add(EJBObjectProxy.class);
@@ -174,9 +174,9 @@
             }
         } catch (Throwable oe) {
             if (remote) {
-                throw new RemoteException("Unknown Container Exception: "+oe.getClass().getName()+":
"+oe.getMessage(), oe.getCause());
+                throw new RemoteException("Unknown Container Exception: " + oe.getClass().getName()
+ ": " + oe.getMessage(), oe.getCause());
             } else {
-                throw new EJBException("Unknown Container Exception: "+oe.getClass().getName()+":
"+oe.getMessage()).initCause(oe.getCause());
+                throw new EJBException("Unknown Container Exception: " + oe.getClass().getName()
+ ": " + oe.getMessage()).initCause(oe.getCause());
             }
         }
         return retValue;



Mime
View raw message