public abstract class AbstractExceptionHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractExceptionHandler.AbstractCallback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>
The type Abstract callback.
|
static interface |
AbstractExceptionHandler.Callback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>
The interface Callback.
|
| Modifier and Type | Field and Description |
|---|---|
protected static io.seata.config.Configuration |
CONFIG
The constant CONFIG.
|
| Constructor and Description |
|---|
AbstractExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse> |
exceptionHandleTemplate(AbstractExceptionHandler.Callback<T,S> callback,
T request,
S response)
Exception handle template.
|
protected static final io.seata.config.Configuration CONFIG
public <T extends AbstractTransactionRequest,S extends AbstractTransactionResponse> void exceptionHandleTemplate(AbstractExceptionHandler.Callback<T,S> callback, T request, S response)
T - the type parameterS - the type parametercallback - the callbackrequest - the requestresponse - the responseCopyright © 2023 Seata. All rights reserved.