final ClassMetaData exceptionClassMetaData,
final Map pointcutTypeToAdvicesMap) {
List handlerAdvices = new ArrayList();
List handlerPointcuts = system.getAspectManager().getHandlerPointcuts(exceptionClassMetaData);
for (Iterator it = handlerPointcuts.iterator(); it.hasNext();) {
HandlerPointcut pointcut = (HandlerPointcut)it.next();
AdviceContainer advices = new AdviceContainer(
EMPTY_INDEX_TUPLE_ARRAY,
pointcut.getBeforeAdviceIndexes(),
EMPTY_INDEX_TUPLE_ARRAY
);
handlerAdvices.add(advices);
}
AdviceContainer[] adviceContainers = new AdviceContainer[handlerAdvices.size()];