@Repeatable(value=ExceptionHandlers.class) @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface ExceptionHandler
ExceptionHandlerFunction class which handles exceptions throwing from an
annotated service method.| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends ExceptionHandlerFunction> |
value
ExceptionHandlerFunction implementation type. |
public abstract Class<? extends ExceptionHandlerFunction> value
ExceptionHandlerFunction implementation type. The specified class must have an accessible
default constructor.Copyright © 2020 LeanCloud. All rights reserved.