public static HttpStatusException of(int statusCode, Throwable cause) {
        requireNonNull(cause, "cause");
        return of(HttpStatus.valueOf(statusCode), cause);
    }
Returns a new {@link HttpStatusException} instance with the specified HTTP status code and {@code cause}.
core/src/main/java/com/linecorp/armeria/server/HttpStatusException.java