[webbeans-dev] Subclasses of DefinitionException

Gavin King gavin at hibernate.org
Wed Jan 14 04:22:49 EST 2009


The spec currently defines the following subclasses of
DefinitionException: NonexistentTypeException,
NonexistentMemberException, NonexistentFieldException,
NonexistentMethodException, NonexistentConstructorException.

Honestly I don't think there is much value to standardizing these
exceptions. It's not like they're ever recoverable or anything.

I would like to remove them from the spec and just say
"DefinitionException" instead.

Any objections?

-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



More information about the weld-dev mailing list