What sort of thing are you trying to do? Typically, I do my annotation handling at the level where I can do something about it. For instance, using Shiro in a webapp, I'll do handling of exceptions thrown from the annotations in servet filters. This allows me to form a web response based on the exception.
-Jared On Mon 09 Jul 2012 08:42:04 AM CDT, Paulo Pires wrote: > Hi list, > > Using annotations is really cool, but unfortunately, one seems unable to > deal with exceptions thrown when using it. Am I right? > > Now, I know I can drop annotations use and do the logic myself - and > therefore control all exceptions -, but I'd like to continue to use the > cleaner approach, annotations. > > Any hint on how one can achieve this without hacking Shiro's source? > > Cheers, >
