On Fri, Jan 21, 2011 at 14:31, Gavin King <gavin.king(a)gmail.com> wrote:
When we designed the CDI spec, we tried to avoid defining precedence
in terms of numeric values. Why not model exception handler precedence
on the solution we use for interceptor precedence in CDI? An exception
handler is some kind of interceptor, after all...
Gavin,
The precedence value is actually a very small portion of defining
order for exception handlers. It's really only there for the
(probably rare) case of having multiple handlers for the same
exception type and phase. For end users, I doubt it will come up very
often when they will need to use anything other than the default.
When developing the ordering of exception handlers we decided not to
use an additional external configuration, but keep everything as close
to the declaration of the handler as possible. I also have not heard
from any users stating they would like or need an external
configuration for handlers. Until it comes up and is a change /
addition wanted by many I will keep it as it currently stands.
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
_______________________________________________
seam-dev mailing list
seam-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev
--
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp
Software Engineer
Open Source Advocate
PGP key id: 926CCFF5
PGP key available at:
keyserver.net,
pgp.mit.edu