Skip to content

Commit

Permalink
Add description for RetryableException (#2459)
Browse files Browse the repository at this point in the history
* Add description for RetryableException

* run license formatter
  • Loading branch information
heli-os authored Jun 27, 2024
1 parent 13ec657 commit affb35d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/src/main/java/feign/RetryableException.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 The Feign Authors
* Copyright 2012-2024 The Feign Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -30,7 +30,8 @@ public class RetryableException extends FeignException {
private final HttpMethod httpMethod;

/**
* @param retryAfter usually corresponds to the {@link feign.Util#RETRY_AFTER} header.
* @param retryAfter usually corresponds to the {@link feign.Util#RETRY_AFTER} header. If you
* don't want to retry, set null.
*/
public RetryableException(
int status,
Expand Down Expand Up @@ -58,7 +59,8 @@ public RetryableException(
}

/**
* @param retryAfter usually corresponds to the {@link feign.Util#RETRY_AFTER} header.
* @param retryAfter usually corresponds to the {@link feign.Util#RETRY_AFTER} header. If you
* don't want to retry, set null.
*/
public RetryableException(
int status, String message, HttpMethod httpMethod, Long retryAfter, Request request) {
Expand Down

0 comments on commit affb35d

Please sign in to comment.