You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tiles.apache.org by Antonio Petrelli <an...@gmail.com> on 2007/02/26 11:51:37 UTC

TilesException doubt

Hi,
Why TilesException has a private "exception" field? Does not the cause suffice?

Thank you
Antonio

Re: TilesException doubt

Posted by Antonio Petrelli <an...@gmail.com>.
2007/2/26, David H. DeWolf <dd...@apache.org>:
> Good question, I have no idea. We should remove it.

Done. Thanks for the feedback :-)

Antonio

Re: TilesException doubt

Posted by "David H. DeWolf" <dd...@apache.org>.
Good question, I have no idea. We should remove it.

Antonio Petrelli wrote:
> Hi,
> Why TilesException has a private "exception" field? Does not the cause 
> suffice?
> 
> Thank you
> Antonio
> 

Re: TilesException doubt

Posted by Greg Reddin <gr...@gmail.com>.
On 2/26/07, Antonio Petrelli <an...@gmail.com> wrote:
>
> Hi,
> Why TilesException has a private "exception" field? Does not the cause
> suffice?


I suspect it's a leftover artifact from the days before Exceptions could be
"chained" (JDK 1.3 IIRC).  I saw your commit to remove it and I don't have a
problem with it.  I think you reduced code without changing functionality
and I'm always +1 for that!

Greg