T - the type parameterS - the type parameterpublic abstract static class AbstractExceptionHandler.AbstractCallback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse> extends Object implements AbstractExceptionHandler.Callback<T,S>
| 构造器和说明 |
|---|
AbstractCallback() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onException(T request,
S response,
Exception rex)
on other exception
|
void |
onSuccess(T request,
S response)
On success.
|
void |
onTransactionException(T request,
S response,
TransactionException tex)
onTransactionException
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic void onSuccess(T request, S response)
AbstractExceptionHandler.CallbackonSuccess 在接口中 AbstractExceptionHandler.Callback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>request - the requestresponse - the responsepublic void onTransactionException(T request, S response, TransactionException tex)
AbstractExceptionHandler.CallbackonTransactionException 在接口中 AbstractExceptionHandler.Callback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>request - the requestresponse - the responsetex - the exceptionpublic void onException(T request, S response, Exception rex)
AbstractExceptionHandler.CallbackonException 在接口中 AbstractExceptionHandler.Callback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>request - the requestresponse - the responserex - the exceptionCopyright © 2022 Seata. All rights reserved.