public abstract class AbstractExceptionHandler extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AbstractExceptionHandler.AbstractCallback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse> |
static interface |
AbstractExceptionHandler.Callback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>
The interface Callback.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected static Configuration |
CONFIG
The constant CONFIG.
|
| 构造器和说明 |
|---|
AbstractExceptionHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse> |
exceptionHandleTemplate(AbstractExceptionHandler.Callback<T,S> callback,
T request,
S response)
Exception handle template.
|
protected static final Configuration CONFIG
public <T extends AbstractTransactionRequest,S extends AbstractTransactionResponse> void exceptionHandleTemplate(AbstractExceptionHandler.Callback<T,S> callback, T request, S response)
callback - the callbackrequest - the requestresponse - the responseCopyright © 2020 Seata. All rights reserved.