geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx GBeanMBeanAttribute.java
Date Tue, 20 Jan 2004 06:09:42 GMT
djencks     2004/01/19 22:09:42

  Modified:    modules/kernel/src/java/org/apache/geronimo/gbean/jmx
                        GBeanMBeanAttribute.java
  Log:
  show more info on errors
  
  Revision  Changes    Path
  1.4       +5 -3      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx/GBeanMBeanAttribute.java
  
  Index: GBeanMBeanAttribute.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx/GBeanMBeanAttribute.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GBeanMBeanAttribute.java	16 Jan 2004 23:31:21 -0000	1.3
  +++ GBeanMBeanAttribute.java	20 Jan 2004 06:09:42 -0000	1.4
  @@ -179,8 +179,8 @@
                       getterMethod.getReturnType() != setterMethod.getParameterTypes()[0])
{
                   throw new InvalidConfigurationException("Getter and setter methods do not
have the same types:" +
                           " name=" + attributeInfo.getName() +
  -                        " geterMethod=" + getterMethod.getName() +
  -                        " seterMethod=" + setterMethod.getName() +
  +                        " getterMethod=" + getterMethod.getName() +
  +                        " setterMethod=" + setterMethod.getName() +
                           " targetClass=" + gMBean.getType().getName());
               }
   
  @@ -191,6 +191,7 @@
                           " name=" + attributeInfo.getName() +
                           " constructorType=" + constructorType.getName() +
                           " getterMethod=" + getterMethod.getName() +
  +                        " getterMethod type=" + getterMethod.getReturnType().getName()
+
                           " targetClass=" + gMBean.getType().getName());
               }
   
  @@ -201,6 +202,7 @@
                           " name=" + attributeInfo.getName() +
                           " constructorType=" + constructorType.getName() +
                           " setterMethod=" + setterMethod.getName() +
  +                        " getterMethod type=" + setterMethod.getParameterTypes()[0].getName()
+
                           " targetClass=" + gMBean.getType().getName());
               }
   
  
  
  

Mime
View raw message