* @throws amy exception to stop the annotation processing
*/
public void error(AnnotationProcessorException ape) throws
AnnotationProcessorException {
AnnotationInfo info = ape.getLocator();
if (info==null){
logger.severe(ape.getMessage());
} else{
logger.severe(AnnotationUtils.getLocalString(
"enterprise.deployment.annotation.error",
"{2}\n symbol: {0} location: {1}\n\n",
new Object[] { info.getElementType(), info.getAnnotatedElement(), ape.getMessage()}));
}
}