Package org.hyperledger.fabric.client
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
ConstructorDescriptionSubmitException
(String transactionId, StatusRuntimeException cause) Constructs a new exception with the specified cause. -
Method Summary
Methods inherited from class org.hyperledger.fabric.client.TransactionException
getTransactionId
Methods inherited from class org.hyperledger.fabric.client.GatewayException
getDetails, getStatus, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.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.
-