-----Ursprüngliche Nachricht-----
>Von: Scott M Stark [mailto:[EMAIL PROTECTED]]
>Gesendet: Freitag, 2. November 2001 10:19
>An: Jboss-Development (E-Mail)
>Betreff: Re: [JBoss-dev] Let's drop the
>org.jboss.ejb.DeploymentException

>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.

At the danger of being too esoteric, it adds at least the information that
the exception has been thrown from
a specific deployer or from a particular deployment facility/package, namely
the ContainerFactory. 

I´m always thinking of "mabye one day, someone will need to catch extactly
those and let other DeploymentExceptions pass through". Furthermore, I like
nesting of exceptions in a multi-tiered environment (one thing that JDK1.4
does IMHO right) ... with subclassing  you can inherit the important nesting
code from a root exception class to various places in the system - but thats
not our topic, sorry.

Maybe we could decide about a general exception guideline for 3.0 ? But its
not urgent.

CGJ

-----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

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

Reply via email to