[jboss-cvs] JBossAS SVN: r66506 - trunk/ejb3/src/main/org/jboss/ejb3/session.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Oct 26 16:25:36 EDT 2007


Author: ALRubinger
Date: 2007-10-26 16:25:36 -0400 (Fri, 26 Oct 2007)
New Revision: 66506

Modified:
   trunk/ejb3/src/main/org/jboss/ejb3/session/BaseSessionProxyFactory.java
Log:
EJBTHREE-1075: Referenced JIRA issue from error message

Modified: trunk/ejb3/src/main/org/jboss/ejb3/session/BaseSessionProxyFactory.java
===================================================================
--- trunk/ejb3/src/main/org/jboss/ejb3/session/BaseSessionProxyFactory.java	2007-10-26 17:43:06 UTC (rev 66505)
+++ trunk/ejb3/src/main/org/jboss/ejb3/session/BaseSessionProxyFactory.java	2007-10-26 20:25:36 UTC (rev 66506)
@@ -134,18 +134,18 @@
       }
       
       // If home is defined and there are no local/remote interfaces
-      if(home!=null && localOrRemoteInterfaces.length==0)
+      if (home != null && localOrRemoteInterfaces.length == 0)
       {
-         throw new RuntimeException(container.getBeanClassName() + " defines home"
+         throw new RuntimeException("EJBTHREE-1075: " + container.getBeanClassName() + " defines home"
                + " but provides no local/remote interfaces extending " + EJBLocalObject.class.getName() + "/"
                + EJBObject.class.getName() + "; EJB 2.1 view cannot be realized");
       }
-      
+
       // If local/remote interfaces are defined, but no remote home
-      if(home==null&&localOrRemoteInterfaces.length!=0)
+      if (home == null && localOrRemoteInterfaces.length != 0)
       {
-         throw new RuntimeException(container.getBeanClassName() + " defines local/remote interfaces"
-               + " but provides no home; EJB 2.1 view cannot be realized");
+         throw new RuntimeException("EJBTHREE-1075: " + container.getBeanClassName()
+               + " defines local/remote interfaces" + " but provides no home; EJB 2.1 view cannot be realized");
       }
 
    }




More information about the jboss-cvs-commits mailing list