private void methodInvocationException(Object bean, Method method, Exception e) throws JellyTagException {
log.error("Could not invoke " + method, e);
BeanMap beanMap = new BeanMap(bean);
log.error("Bean properties:");
for (Iterator i = beanMap.keySet().iterator(); i.hasNext();) {
String property = (String) i.next();
Object value = beanMap.get(property);
log.error(property + " -> " + value);
}