public static EndpointSelectionTimeoutException get(EndpointGroup endpointGroup,
                                                        long selectionTimeoutMillis) {
        requireNonNull(endpointGroup, "endpointGroup");
        checkArgument(selectionTimeoutMillis >= 0, "selectionTimeoutMillis: %s (expected: >= 0)",
                      selectionTimeoutMillis);
        return Flags.verboseExceptionSampler().isSampled(EndpointSelectionTimeoutException.class) ?
               new EndpointSelectionTimeoutException(endpointGroup, selectionTimeoutMillis) : INSTANCE;
    }
Returns an {@link EndpointSelectionTimeoutException} which prints a message about
the {@link EndpointGroup} when thrown.
core/src/main/java/com/linecorp/armeria/client/endpoint/EndpointSelectionTimeoutException.java