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

Shane Bryzak sbryzak at redhat.com
Thu Mar 8 04:26:15 EST 2007


  User: sbryzak2
  Date: 07/03/08 04:26:15

  Modified:    src/main/org/jboss/seam/core  ConversationEntry.java
  Log:
  more descriptive exceptions
  
  Revision  Changes    Path
  1.38      +3 -1      jboss-seam/src/main/org/jboss/seam/core/ConversationEntry.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ConversationEntry.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/ConversationEntry.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -b -r1.37 -r1.38
  --- ConversationEntry.java	8 Mar 2007 07:48:20 -0000	1.37
  +++ ConversationEntry.java	8 Mar 2007 09:26:15 -0000	1.38
  @@ -37,7 +37,9 @@
      {
         this.id = id;
   
  -      if (stack==null || id==null) throw new IllegalArgumentException();
  +      if (stack==null) throw new IllegalArgumentException("Stack must not be null");
  +      if (id==null) throw new IllegalArgumentException("id must not be null");
  +      
         this.conversationIdStack = stack;
   
         this.startDatetime = new Date();
  
  
  



More information about the jboss-cvs-commits mailing list