private void checkForPresentExceptionToMap(Method method) {
        if (method.getParameterTypes().length == 0 && annotatedExceptions.length == 0) {
            throw new IllegalStateException(
                    String.format("@GrpcExceptionHandler annotated method [%s] has no mapped exception!",
                            method.getName()));
        }
    }
Creates a new GrpcExceptionHandlerMethodResolver.

@param grpcAdviceDiscoverer The advice discoverer to use.
grpc-server-spring-boot-starter/src/main/java/net/devh/boot/grpc/server/advice/GrpcExceptionHandlerMethodResolver.java