RE: [Hibernate] Do antlr exception leak to users?

2006-02-08 Thread Scott M Stark
forge.net; Hibernate development > Subject: RE: [Hibernate] Do antlr exception leak to users? > > Well I think the distinction here is that Hibernate > constitutes a "hard" dependency on Antlr. The users choice > to

Re: [Hibernate] Do antlr exception leak to users?

2006-02-08 Thread Max Rydahl Andersen
Original Message- From: Max Andersen Sent: Wednesday, February 08, 2006 8:41 AM To: Steve Ebersole; Scott M Stark; jboss-development@lists.sourceforge.net; Hibernate development Subject: Re: [Hibernate] Do antlr exception leak to users? Hi, antlr exceptions can probably be "contained&qu

RE: [Hibernate] Do antlr exception leak to users?

2006-02-08 Thread Steve Ebersole
ark; jboss-development@lists.sourceforge.net; Hibernate development Subject: Re: [Hibernate] Do antlr exception leak to users? Hi, antlr exceptions can probably be "contained" by some of the methods mentioned below - no problem. I'm just wondering what to do with other exceptions

Re: [Hibernate] Do antlr exception leak to users?

2006-02-08 Thread Max Rydahl Andersen
Rydahl Andersen Sent: Tuesday, February 07, 2006 2:02 PM To: Scott M Stark; jboss-development@lists.sourceforge.net; Hibernate development Subject: Re: [Hibernate] Do antlr exception leak to users? On Tue, 07 Feb 2006 20:55:52 +0100, Scott M Stark <[EMAIL PROTECTED]> wrote: fixing the antlr

RE: [Hibernate] Do antlr exception leak to users?

2006-02-08 Thread Steve Ebersole
M Stark; jboss-development@lists.sourceforge.net; Hibernate development Subject: Re: [Hibernate] Do antlr exception leak to users? On Tue, 07 Feb 2006 20:55:52 +0100, Scott M Stark <[EMAIL PROTECTED]> wrote: >> fixing the antlr exception svuid won't help us if the client >

RE: [Hibernate] Do antlr exception leak to users?

2006-02-08 Thread Scott M Stark
> which it isn't afaik. the antlr version started to include > more data in the exception over time. > Including additional data is not an incompatible serialzable change generally. Its optional data that will be ignored and cannot affect the legacy implementation. > >> calling printStackTrace(

Re: [Hibernate] Do antlr exception leak to users?

2006-02-07 Thread Max Rydahl Andersen
On Tue, 07 Feb 2006 20:55:52 +0100, Scott M Stark <[EMAIL PROTECTED]> wrote: fixing the antlr exception svuid won't help us if the client is using an older version, right ? It will if the serialVersionUID is set to the implicit value from the previous version. This can be done if the version

RE: [Hibernate] Do antlr exception leak to users?

2006-02-07 Thread Scott M Stark
> fixing the antlr exception svuid won't help us if the client > is using an older version, right ? > It will if the serialVersionUID is set to the implicit value from the previous version. This can be done if the version is still serializable compatible. > calling printStackTrace() on every exc

Re: [Hibernate] Do antlr exception leak to users?

2006-02-07 Thread Max Rydahl Andersen
07, 2006 10:34 AM To: Scott M Stark; jboss-development@lists.sourceforge.net; Hibernate development Subject: Re: [Hibernate] Do antlr exception leak to users? On Tue, 07 Feb 2006 19:24:38 +0100, Scott M Stark <[EMAIL PROTECTED]> wrote: > I'm a little concerned that this will lead to

RE: [Hibernate] Do antlr exception leak to users?

2006-02-07 Thread Scott M Stark
; throw new Xception(msg); } > -Original Message- > From: Max Andersen > Sent: Tuesday, February 07, 2006 10:34 AM > To: Scott M Stark; jboss-development@lists.sourceforge.net; > Hibernate development > Subject: Re: [Hibernate] Do antlr exception leak to users? >

Re: [Hibernate] Do antlr exception leak to users?

2006-02-07 Thread Max Rydahl Andersen
rnal "cause". /max -Original Message- From: Max Andersen Sent: Monday, February 06, 2006 11:53 AM To: Scott M Stark; jboss-development@lists.sourceforge.net; Hibernate development Subject: Re: [Hibernate] Do antlr exception leak to users? On Mon, 06 Feb 2006 20:49:08 +0100,

RE: [Hibernate] Do antlr exception leak to users?

2006-02-07 Thread Scott M Stark
nday, February 06, 2006 11:53 AM > To: Scott M Stark; jboss-development@lists.sourceforge.net; > Hibernate development > Subject: Re: [Hibernate] Do antlr exception leak to users? > > On Mon, 06 Feb 2006 20:49:08 +0100, Scott M Stark > <[EMAIL PROTECTED]> > wrote: &

Re: [Hibernate] Do antlr exception leak to users?

2006-02-06 Thread Max Rydahl Andersen
On Mon, 06 Feb 2006 20:49:08 +0100, Scott M Stark <[EMAIL PROTECTED]> wrote: I'm seeing some incompatible serial version uid changes in the latest antlr, but I don't know if antlr exceptions every leak to users outside of the vm such that this is an issue. Do the ql grammar exception get expos

[Hibernate] Do antlr exception leak to users?

2006-02-06 Thread Scott M Stark
I’m seeing some incompatible serial version uid changes in the latest antlr, but I don’t know if antlr exceptions every leak to users outside of the vm such that this is an issue. Do the ql grammar exception get exposed or are they always converted to a hibernate exception?   serialVersio