You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by qu...@apache.org on 2003/01/30 00:05:43 UTC

cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/intake/model Field.java

quintonm    2003/01/29 15:05:43

  Modified:    src/java/org/apache/turbine/services/intake/model Field.java
  Log:
  Exceptions thrown while executing the "getter" method of
  a mapped object were incorrectly reporting that the
  problem occured while executing the "setter" method.
  
  Revision  Changes    Path
  1.7       +4 -4      jakarta-turbine-2/src/java/org/apache/turbine/services/intake/model/Field.java
  
  Index: Field.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/intake/model/Field.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Field.java	29 Jan 2003 22:20:18 -0000	1.6
  +++ Field.java	29 Jan 2003 23:05:42 -0000	1.7
  @@ -759,15 +759,15 @@
           }
           catch(IllegalAccessException e)
           {
  -            throwSetGetException("setter", obj, this.getDisplayName(), this.group.getIntakeGroupName(), e);
  +            throwSetGetException("getter", obj, this.getDisplayName(), this.group.getIntakeGroupName(), e);
           }
           catch(IllegalArgumentException e)
           {
  -            throwSetGetException("setter", obj, this.getDisplayName(), this.group.getIntakeGroupName(), e);
  +            throwSetGetException("getter", obj, this.getDisplayName(), this.group.getIntakeGroupName(), e);
           }
           catch(InvocationTargetException e)
           {
  -            throwSetGetException("setter", obj, this.getDisplayName(), this.group.getIntakeGroupName(), e);
  +            throwSetGetException("getter", obj, this.getDisplayName(), this.group.getIntakeGroupName(), e);
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org