[seam-commits] Seam SVN: r10234 - trunk/src/main/org/jboss/seam/core.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Mar 30 13:21:15 EDT 2009


Author: dan.j.allen
Date: 2009-03-30 13:21:15 -0400 (Mon, 30 Mar 2009)
New Revision: 10234

Modified:
   trunk/src/main/org/jboss/seam/core/ConversationInterceptor.java
Log:
provide proper message when attempting to begin pageflow w/o bpm component installed


Modified: trunk/src/main/org/jboss/seam/core/ConversationInterceptor.java
===================================================================
--- trunk/src/main/org/jboss/seam/core/ConversationInterceptor.java	2009-03-30 15:37:09 UTC (rev 10233)
+++ trunk/src/main/org/jboss/seam/core/ConversationInterceptor.java	2009-03-30 17:21:15 UTC (rev 10234)
@@ -240,6 +240,9 @@
    {
       if ( !pageflowName.equals("") )
       {
+         if ( !Init.instance().isJbpmInstalled() ) {
+            throw new IllegalArgumentException("attempting to begin pageflow but required org.jboss.seam.bpm.jbpm component is not installed");
+         }
          Pageflow.instance().begin(pageflowName);
       }
    }




More information about the seam-commits mailing list