Package org.web3j.protocol.exceptions
Class TransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.web3j.protocol.exceptions.TransactionException
- All Implemented Interfaces:
Serializable
Transaction timeout exception indicates that we have breached some threshold waiting for a
transaction to execute.
- See Also:
-
Constructor Summary
ConstructorDescriptionTransactionException
(String message) TransactionException
(String message, String transactionHash) TransactionException
(String message, TransactionReceipt transactionReceipt) TransactionException
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionObtain the transaction hash .Obtain the transaction receipt.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransactionException
-
TransactionException
-
TransactionException
-
TransactionException
-
-
Method Details
-
getTransactionHash
Obtain the transaction hash .- Returns:
- optional transaction hash .
-
getTransactionReceipt
Obtain the transaction receipt.- Returns:
- optional transaction receipt.
-