Maybe in 3.0 if it really adds something. An ejb specific exception
without any new data doesn't do anything for me.
org.jboss.ejb.DeploymentException is gone from 2.4.

-----Urspr�ngliche Nachricht-----
Von: Jung , Dr. Christoph
Gesendet: Freitag, 2. November 2001 09:55
An: 'Scott M Stark'
Betreff: AW: [JBoss-dev] Let's drop the
org.jboss.ejb.DeploymentException



Why not have the ejb.DeploymentException being a subclass of
deployment.DeploymentException? This
still allows to discriminate the source deployer and at the same time
releaves you from the burden to
catch it int the interface between J2eeDeployer and ContainerFactory ...

IMHO, there can be never enough exceptions to enable a flexible error
treatment, but they need
to expose more structure in order to ease default behaviour ...

CGJ

-----Urspr�ngliche Nachricht-----
Von: Scott M Stark [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 2. November 2001 05:58
An: [EMAIL PROTECTED]
Betreff: Re: [JBoss-dev] Let's drop the
org.jboss.ejb.DeploymentException



Both 2.4.4 and 3.0

----- Original Message -----
From: "David Jencks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 01, 2001 7:33 PM
Subject: Re: [JBoss-dev] Let's drop the org.jboss.ejb.DeploymentException


> Yippee!!!
>
> Is this for jboss 3 I hope?
>
> david jencks
>
> On 2001.11.01 22:13:42 -0500 Scott M Stark wrote:
> > We have two equivalent exceptions
> > org.jboss.deployment.DeploymentException and
> > org.jboss.ejb.DeploymentException. In a number of places we have to
catch
> > a
> > org.jboss.ejb.DeploymentException just to rethrow it as a
> > org.jboss.deployment.DeploymentException.
> > Very ugly. I'm going to drop the ejb package version in favor of the
> > more general
> > org.jboss.deployment.DeploymentException version. Speak now or kiss the
> > ejb version
> > goodbye.
> >




_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to