Class TransactionAbortedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
org.apache.kafka.common.errors.ApiException
org.apache.kafka.common.errors.TransactionAbortedException
- All Implemented Interfaces:
Serializable
This is the Exception thrown when we are aborting any undrained batches during a transaction which is aborted without any underlying cause - which likely means that the user chose to abort.
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionTransactionAbortedException(String message) TransactionAbortedException(String message, Throwable cause) Method Summary
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
TransactionAbortedException
TransactionAbortedException
TransactionAbortedException
public TransactionAbortedException()