Package org.apache.kafka.common.errors
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
public class TransactionAbortedException extends ApiException
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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description TransactionAbortedException()
TransactionAbortedException(String message)
TransactionAbortedException(String message, Throwable cause)
-
Method Summary
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
Methods 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()
-