openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@bea.com>
Subject RE: RollbackException.toString()
Date Mon, 30 Oct 2006 23:30:37 GMT
> > The situation I'm looking at right now, for one: I'm seeing an
> > optimistic lock exception, and the OpenJPA exception translation is
> > obscuring the full stack, so I just get the stack from the point of
> > translation, rather than from the point of origin.
> 
> Then the solution is to fix the exception translation, which is  
> always supposed to preserve the original stack (either by  
> transferring it or making it an inner exception).

What is this 'inner exception' that you speak of? The underlying
exception is set to the cause, but the cause is not being printed.

IOW, I get all the information I need when I do an e.printStackTrace(),
but not in the surefire log.

Mime
View raw message