markt       2005/06/11 08:49:16

  Modified:    webapps/admin/WEB-INF/classes/org/apache/webapp/admin
                        AttributeTag.java
  Log:
  Improve error message so it is clear which resource is missing an attribute.
  
  Revision  Changes    Path
  1.4       +3 -2      
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/AttributeTag.java
  
  Index: AttributeTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/AttributeTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AttributeTag.java 26 Aug 2004 22:00:35 -0000      1.3
  +++ AttributeTag.java 11 Jun 2005 15:49:16 -0000      1.4
  @@ -168,7 +168,8 @@
               value = mserver.getAttribute(oname, attribute);
           } catch (Throwable t) {
               throw new JspException("Exception retrieving attribute '" +
  -                                   attribute + "'");
  +                                   attribute + "' from mbean '" +
  +                                   oname.toString() + "'");
           }
   
           // Render this value to our current output writer
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to