peerGroup.broadcastTransaction(req.tx) java docs (which shows on ctrl+space) shows get() method which throws eception when something goes wrong but its not there in 0.15.6 version. However, java docs still shows this in method description. Method description is as below;
"
Given a transaction, sends it un-announced to one peer and then waits for it to be received back from other peers. Once all connected peers have announced the transaction, the future available via the TransactionBroadcast.future() method will be completed. If anything goes wrong the exception will be thrown when get() is called, or you can receive it via a callback on the ListenableFuture. This method returns immediately, so if you want it to block just call get() on the result."
What is the latest way to get exception if something goes wrong while broadcast? Or you can say what the other way bitcoinj provide now when they removed get() method?