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 unnecessary coupling of
client and server versions of antlr then. How often does an antlr
exception as a cause show up in practise as an exception seen by an
external client?

hmm..whenever a syntax error occur in a HQL/EJBQL statement.

But how else can we provide the cause of an exception ?
This is a pretty critical part of debugging hibernate applications.
Not just for antlr exceptions, but jdbc driver exceptions, sqlexceptions and
any other external "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, 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 exposed or are they always converted to a
hibernate exception?

it is always converted, but of course it can be inside as a
cause exception.

/max



--
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to