river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcost...@apache.org
Subject svn commit: r1003760 - /incubator/river/jtsk/trunk/src/com/sun/jini/mahalo/TxnManagerImpl.java
Date Sat, 02 Oct 2010 09:59:42 GMT
Author: jcosters
Date: Sat Oct  2 09:59:41 2010
New Revision: 1003760

URL: http://svn.apache.org/viewvc?rev=1003760&view=rev
Log:
RIVER-354: thrown UnknownTransactionException when transaction to abort is not found

Modified:
    incubator/river/jtsk/trunk/src/com/sun/jini/mahalo/TxnManagerImpl.java

Modified: incubator/river/jtsk/trunk/src/com/sun/jini/mahalo/TxnManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/com/sun/jini/mahalo/TxnManagerImpl.java?rev=1003760&r1=1003759&r2=1003760&view=diff
==============================================================================
--- incubator/river/jtsk/trunk/src/com/sun/jini/mahalo/TxnManagerImpl.java (original)
+++ incubator/river/jtsk/trunk/src/com/sun/jini/mahalo/TxnManagerImpl.java Sat Oct  2 09:59:41
2010
@@ -933,7 +933,7 @@ class TxnManagerImpl /*extends RemoteSer
 		}	
 		
 	} else {	
-	    throw new NullPointerException("No such transaction ["+id+"]");
+	    throw new UnknownTransactionException("No such transaction ["+id+"]");
 	}
 
 	txntr.abort(waitFor);



Mime
View raw message