User: tobyallsopp Date: 01/05/16 13:44:16 Modified: src/main/org/jboss/ejb/plugins TxInterceptorBMT.java Log: java.lang.Errors in BMT methods now throw a ServerError so that the actual Error is preserved. Revision Changes Path 1.15 +3 -2 jboss/src/main/org/jboss/ejb/plugins/TxInterceptorBMT.java Index: TxInterceptorBMT.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/TxInterceptorBMT.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- TxInterceptorBMT.java 2001/02/05 01:53:18 1.14 +++ TxInterceptorBMT.java 2001/05/16 20:44:16 1.15 @@ -8,6 +8,7 @@ import java.lang.reflect.Method; import java.rmi.RemoteException; +import java.rmi.ServerError; import java.rmi.ServerException; import java.util.*; @@ -50,7 +51,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a> * @author <a href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a> * @author Peter Antman ([EMAIL PROTECTED]) -* @version $Revision: 1.14 $ +* @version $Revision: 1.15 $ */ public class TxInterceptorBMT extends AbstractInterceptor @@ -297,7 +298,7 @@ } } - throw new ServerException("Transaction rolled back:"+e.getMessage()); + throw new ServerError("Transaction rolled back", e); } finally { // Reset user Tx _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
