pstmt.setLong( 6, lastHeartbeat );
if ( pstmt.executeUpdate() != 1 ) {
String errorMsg = br.getKString(
BrokerResources.E_UNABLE_TO_ACQUIRE_TAKEOVER_LOCK, targetBrokerID );
TakeoverLockException ex = new TakeoverLockException( errorMsg );
ex.setBrokerInfo( bkrInfo ); // Store broker info
throw ex;
}
} catch ( Exception e ) {
myex = e;
try {