Package com.linecorp.armeria.server.grpc
Annotation Interface GrpcExceptionHandler
@Repeatable(GrpcExceptionHandlers.class)
@Retention(RUNTIME)
@Target({TYPE,METHOD})
public @interface GrpcExceptionHandler
Specifies a
GrpcExceptionHandlerFunction
class which handles exceptions throwing from a gRPC service
or its methods.-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends GrpcExceptionHandlerFunction>
GrpcExceptionHandlerFunction
implementation type.
-
Element Details
-
value
Class<? extends GrpcExceptionHandlerFunction> valueGrpcExceptionHandlerFunction
implementation type.
-