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>
| Constructor and Description |
|---|
AbstractCallback() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface AbstractExceptionHandler.Callback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>request - the requestresponse - the responsepublic void onTransactionException(T request, S response, TransactionException tex)
AbstractExceptionHandler.CallbackonTransactionException in interface 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 in interface AbstractExceptionHandler.Callback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>request - the requestresponse - the responserex - the exceptionCopyright © 2023 Seata. All rights reserved.