public static void rollbackOnError(String id, Throwable e){
        if(Objects.isNullOrEmpty(id)) {
            throw new RollbackException(e.getMessage(),e);
        }
        local.remove();
        transactionLog.remove(id);
    }
public static void rollbackOnError ( String id , Throwable e ) { if ( Objects . isNullOrEmpty ( id ) ) { throw new RollbackException ( e . getMessage ( ) , e ) ; } local . remove ( ) ; transactionLog . remove ( id ) ; }
@param id