Class TransactionEventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hyperledger.fabric.sdk.exception.BaseException
org.hyperledger.fabric.sdk.exception.TransactionException
org.hyperledger.fabric.sdk.exception.TransactionEventException
- All Implemented Interfaces:
Serializable
The exception to be thrown when we receive an event for an invalid Transaction
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionEventException(String message, BlockEvent.TransactionEvent transactionEvent) save the TransactionEvent in the exception so that caller can use for debuggingTransactionEventException(String message, BlockEvent.TransactionEvent transactionEvent, Throwable throwable) save the TransactionEvent in the exception so that caller can use for debugging -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransactionEventException
save the TransactionEvent in the exception so that caller can use for debugging- Parameters:
message-transactionEvent-
-
TransactionEventException
public TransactionEventException(String message, BlockEvent.TransactionEvent transactionEvent, Throwable throwable) save the TransactionEvent in the exception so that caller can use for debugging- Parameters:
message-transactionEvent-throwable-
-
-
Method Details
-
getTransactionEvent
- Returns:
- the transactionEvent that precipitated this exception
-