@Deprecated
    public GrpcServiceBuilder addExceptionMapping(Class<? extends Throwable> exceptionType, Status status) {
        requireNonNull(exceptionType, "exceptionType");
        requireNonNull(status, "status");
        checkState(exceptionHandler == null,
                   "addExceptionMapping() and exceptionHandler() are mutually exclusive.");

        exceptionMappingsBuilder().on(exceptionType, status);
        return this;
    }
Adds the specified exception mapping that maps a {@link Throwable} to a gRPC {@link Status}.
The mapping is used to handle a {@link Throwable} when it is raised.

<p>Note that this method and {@link #exceptionHandler(GrpcExceptionHandlerFunction)}
are mutually exclusive.

@deprecated Use {@link GrpcExceptionHandlerFunctionBuilder#on(Class, Status)} instead.
grpc/src/main/java/com/linecorp/armeria/server/grpc/GrpcServiceBuilder.java