annotClazz.getDeclaredMethod("value", new Class[] {});
}
catch (SecurityException e)
{
throw new WebBeansException(e);
}
catch (NoSuchMethodException e)
{
throw new WebBeansConfigurationException(errorMessage + "Annotation with type : " + annotClazz.getName() + " must have 'value' method");
}
}
}
/* Check annotation members with name attrs */
for (String attrName : attrsNames)
{
try
{
annotClazz.getDeclaredMethod(attrName, new Class[] {});
}
catch (SecurityException e)
{
throw new WebBeansException(e);
}
catch (NoSuchMethodException e)
{
throw new WebBeansConfigurationException(errorMessage + "Annotation with type : " + annotClazz.getName() + " does not have member with name : " + attrName);