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
-
public class TransactionEventException extends TransactionException
The exception to be thrown when we receive an event for an invalid Transaction- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionEventException(java.lang.String message, BlockEvent.TransactionEvent transactionEvent)
save the TransactionEvent in the exception so that caller can use for debuggingTransactionEventException(java.lang.String message, BlockEvent.TransactionEvent transactionEvent, java.lang.Throwable throwable)
save the TransactionEvent in the exception so that caller can use for debugging
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockEvent.TransactionEvent
getTransactionEvent()
-
-
-
Constructor Detail
-
TransactionEventException
public TransactionEventException(java.lang.String message, BlockEvent.TransactionEvent transactionEvent)
save the TransactionEvent in the exception so that caller can use for debugging- Parameters:
message
-transactionEvent
-
-
TransactionEventException
public TransactionEventException(java.lang.String message, BlockEvent.TransactionEvent transactionEvent, java.lang.Throwable throwable)
save the TransactionEvent in the exception so that caller can use for debugging- Parameters:
message
-transactionEvent
-throwable
-
-
-
Method Detail
-
getTransactionEvent
public BlockEvent.TransactionEvent getTransactionEvent()
- Returns:
- the transactionEvent that precipitated this exception
-
-