});
return (AspectContainer) constructor.newInstance(new Object[] {
crossCuttingInfo
});
} catch (InvocationTargetException e) {
throw new DefinitionException(e.getTargetException().toString());
} catch (NoSuchMethodException e) {
throw new DefinitionException("aspect container does not have a valid constructor ["
+ containerClassName
+ "] (one that takes a CrossCuttingInfo instance as its only parameter): "
+ e.toString());
} catch (Throwable e) {
StringBuffer cause = new StringBuffer();
cause.append("could not create aspect container using the implementation specified [");
cause.append(containerClassName);
cause.append("] due to: ");
cause.append(e.toString());
e.printStackTrace();
throw new DefinitionException(cause.toString());
}
}