To be more specific,
RecognitionException the cause exception may be not Serializable (eg antlr.NoViableAltException (AST and Token are not serializable)
Thus JBoss or any remote capable system clashes on remote calls.

Is it OK if we do not propagate the cause exception?
ie
public QuerySyntaxException(RecognitionException e) {
       super( e.getMessage() + (
               ( e.getLine() > 0 && e.getColumn() > 0 ) ?
( " near line " + e.getLine() + ", column " + e.getColumn() ) : ""
               ), *null* ); //instead of e
   }

Or do we consider Hibernate exceptions as not Serializable?



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to