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 983030a commit 2736939
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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 @@ -31,6 +31,7 @@ public class RetryableException extends FeignException {

/**
* @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, Throwable cause,
Long retryAfter, Request request) {
Expand All @@ -49,6 +50,7 @@ public RetryableException(int status, String message, HttpMethod httpMethod, Thr

/**
* @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 2736939

Please sign in to comment.