@Override
    public void handleError(final ServerCall<?, ?> serverCall, final Throwable error) {
        try {
            final Object mappedReturnType = handleThrownException(error);
            final Status status = resolveStatus(mappedReturnType);
            final Metadata metadata = resolveMetadata(mappedReturnType);

            serverCall.close(status, metadata);
        } catch (final Throwable errorWhileResolving) {
            if (errorWhileResolving != error) {
                errorWhileResolving.addSuppressed(error);
            }
            handleThrownExceptionByImplementation(serverCall, errorWhileResolving);
        }
    }
Creates a new {@link GrpcAdvice} powered {@link GrpcExceptionHandler}.

@param grpcExceptionHandlerMethodResolver The method resolver to use.
grpc-server-spring-boot-starter/src/main/java/net/devh/boot/grpc/server/advice/GrpcAdviceExceptionHandler.java