You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by David Blevins <da...@visi.com> on 2009/02/14 02:15:43 UTC

Re: [jira] Commented: (OPENEJB-980) @ApplicationException is not being inherited

On Feb 13, 2009, at 3:55 PM, Jacek Laskowski wrote:

> On Sat, Feb 14, 2009 at 12:19 AM, David Blevins <david.blevins@visi.com 
> > wrote:
>
>> So, Geoff, congratulations!  You helped change the very spec itself  
>> for the
>> better.  Thanks again for taking the time to file the JIRA.  You  
>> never know
>> where these things can lead :)
>
> So how can we go about it? Should we stop changing XBean to
> automagically do what the annotation will do with @Inherited? What's
> the change then so OpenEJB obeys the rule?

Not sure.  Seems we might have to do all the work on our end  
considering something declared as an application exception via the  
deployment descriptor will also need to have the inheritance enforced.

Initially it might really be as simple as checking if the exception is  
listed in the DeploymentInfo like we do now, and then just check for  
the super class of that exception if the answer comes back no.

That wouldn't support the inheritance=false case, but it's not really  
critical initially IMHO.

-David