Class TransactionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.pulsar.broker.transaction.exception.TransactionException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TransactionBufferException,TransactionCoordinatorException,TransactionException.TransactionNotSealedException,TransactionException.TransactionSealedException,TransactionException.TransactionStatusException,TransactionPendingAckException
public abstract class TransactionException extends java.lang.ExceptionThe base exception class for the errors thrown from Transaction.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransactionException.TransactionNotSealedExceptionException is thrown when opening a reader on a transaction that is not sealed yet.static classTransactionException.TransactionSealedExceptionException thrown if a transaction is already sealed.static classTransactionException.TransactionStatusExceptionExceptions are thrown when operations are applied to a transaction which is not in expected txn status.
-
Constructor Summary
Constructors Constructor Description TransactionException(java.lang.String message)TransactionException(java.lang.String message, java.lang.Throwable cause)TransactionException(java.lang.Throwable cause)
-