You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Scott Eade <se...@backstagetech.com.au> on 2008/04/04 06:18:13 UTC
VelocityEmailException vs EmailException
The embed method of VelocityHtmlEmail currently declares that it throws
VelocityEmailException.
At some point we are going to move to J2SE5 and amongst other things we
will update to newer releases of activation, mail and commons-email.
VelocityHtmlEmail extends org.apache.commons.mail.HtmlEmail whose embed
method throws nothing in commons-email 1.0 but throws EmailException in
commons-email 1.1.
So when we get around to updating to commons-email 1.1 we will need to
change signature of VelocityHtmlEmail.embed(). This should be no big
deal as no exceptions are actually thrown now - only extending classes
would be impacted.
Nothing of concern here - just mentioning it on list so the thought is
not lost.
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
For additional commands, e-mail: dev-help@turbine.apache.org
Re: VelocityEmailException vs EmailException
Posted by Will Glass-Husain <wg...@gmail.com>.
Seems reasonable enough to me. Upgrading will cause a compile error with
extending classes that's easily fixed.
WILL
On Thu, Apr 3, 2008 at 9:18 PM, Scott Eade <se...@backstagetech.com.au>
wrote:
> The embed method of VelocityHtmlEmail currently declares that it throws
> VelocityEmailException.
>
> At some point we are going to move to J2SE5 and amongst other things we
> will update to newer releases of activation, mail and commons-email.
>
> VelocityHtmlEmail extends org.apache.commons.mail.HtmlEmail whose embed
> method throws nothing in commons-email 1.0 but throws EmailException in
> commons-email 1.1.
>
> So when we get around to updating to commons-email 1.1 we will need to
> change signature of VelocityHtmlEmail.embed(). This should be no big deal
> as no exceptions are actually thrown now - only extending classes would be
> impacted.
>
> Nothing of concern here - just mentioning it on list so the thought is not
> lost.
>
> Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
> For additional commands, e-mail: dev-help@turbine.apache.org
>
>
--
Forio Business Simulations
Will Glass-Husain
wglass@forio.com
www.forio.com