[jboss-cvs] jboss-seam/src/main/org/jboss/seam/interceptors ...

Gavin King gavin.king at jboss.com
Tue Feb 13 01:02:53 EST 2007


  User: gavin   
  Date: 07/02/13 01:02:53

  Modified:    src/main/org/jboss/seam/interceptors 
                        ConversationalInterceptor.java
  Log:
  noconversationexception
  
  Revision  Changes    Path
  1.16      +3 -2      jboss-seam/src/main/org/jboss/seam/interceptors/ConversationalInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ConversationalInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/interceptors/ConversationalInterceptor.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- ConversationalInterceptor.java	12 Feb 2007 16:47:29 -0000	1.15
  +++ ConversationalInterceptor.java	13 Feb 2007 06:02:53 -0000	1.16
  @@ -1,4 +1,4 @@
  -//$Id: ConversationalInterceptor.java,v 1.15 2007/02/12 16:47:29 gavin Exp $
  +//$Id: ConversationalInterceptor.java,v 1.16 2007/02/13 06:02:53 gavin Exp $
   package org.jboss.seam.interceptors;
   
   import java.lang.reflect.Method;
  @@ -6,6 +6,7 @@
   import javax.faces.application.FacesMessage;
   import javax.faces.event.PhaseId;
   
  +import org.jboss.seam.NoConversationException;
   import org.jboss.seam.log.LogProvider;
   import org.jboss.seam.log.Logging;
   import org.jboss.seam.annotations.AroundInvoke;
  @@ -49,7 +50,7 @@
            
            if ( "".equals(outcome) )
            {
  -            throw new IllegalStateException( "no long-running conversation for @Conversational bean: " + getComponent().getName() );
  +            throw new NoConversationException( "no long-running conversation for @Conversational bean: " + getComponent().getName() );
            }
            else
            {
  
  
  



More information about the jboss-cvs-commits mailing list