From the "policy" point of view, what's the best practice for preventing the aspect from being added to unwanted situation ?
Actually, I am just throwing an error on relevant policy methods onAddAspect, onBefore.. etc. This is preventing the aspect from being added, but the user is getting a standard message. So, the questions in detail:
I mean:
<ul>
<li>Are there any alternatives other than throwing a runtime error in policy method ?</li>
<li>If not, I am completely missing how can I customize the error message</li>
</ul>