T - the type parameterS - the type parameterpublic static interface AbstractExceptionHandler.Callback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>
| 限定符和类型 | 方法和说明 |
|---|---|
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 onTransactionException(T request, S response, TransactionException exception)
request - response - exception - Copyright © 2020 Seata. All rights reserved.