In a solidity method, there is a require statement which is being failed and transaction in web3j is throwing error as "Gas value is not enough".
Example: require(providedtimestamp > block.timestamp, "release time is before current time");
But in transactions from Etherscan, the error message is correctly displayed. Example: https://rinkeby.etherscan.io/tx/0x2ed757feef430f1695dcbbad8d13ee8df5ba630409465dbf82688dc5543dc52e
How to catch this error message during the method call using web3j.