T - the type parameterS - the type parameterpublic static interface AbstractExceptionHandler.Callback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>
| Modifier and Type | Method and Description |
|---|---|
void |
execute(T request,
S response)
Execute.
|
void |
onException(T request,
S response,
Exception exception)
on other exception
|
void |
onSuccess(T request,
S response)
On success.
|
void |
onTransactionException(T request,
S response,
TransactionException exception)
onTransactionException
|
void execute(T request, S response) throws TransactionException
request - the requestresponse - the responseTransactionException - the transaction exceptionvoid onSuccess(T request, S response)
request - the requestresponse - the responsevoid onTransactionException(T request, S response, TransactionException exception)
request - the requestresponse - the responseexception - the exceptionCopyright © 2023 Seata. All rights reserved.