Class SubmitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hyperledger.fabric.client.GatewayException
org.hyperledger.fabric.client.TransactionException
org.hyperledger.fabric.client.SubmitException
- All Implemented Interfaces:
Serializable
Thrown when a failure occurs submitting an endorsed transaction to the orderer.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSubmitException
(String transactionId, StatusRuntimeException cause) Constructs a new exception with the specified cause. -
Method Summary
Methods inherited from class TransactionException
getTransactionId
Methods inherited from class GatewayException
getDetails, getStatus, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
SubmitException
Constructs a new exception with the specified cause.- Parameters:
transactionId
- a transaction ID.cause
- the cause.
-