From ea0a0af15ef7a13952a39b9a43e19b67f1050bef Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Fri, 13 Oct 2023 15:35:36 -0400 Subject: [PATCH] Deprecating `PermanentConnectionRefusalException` --- .../protocol/impl/PermanentConnectionRefusalException.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/jenkinsci/remoting/protocol/impl/PermanentConnectionRefusalException.java b/src/main/java/org/jenkinsci/remoting/protocol/impl/PermanentConnectionRefusalException.java index 7e5dfed1f..7b8898a24 100644 --- a/src/main/java/org/jenkinsci/remoting/protocol/impl/PermanentConnectionRefusalException.java +++ b/src/main/java/org/jenkinsci/remoting/protocol/impl/PermanentConnectionRefusalException.java @@ -25,9 +25,10 @@ /** * An exception to flag that the connection has been rejected and no further connection attempts should be made. - * + * @deprecated Does not actually do what it claims; only affects logging levels. * @since 3.0 */ +@Deprecated public class PermanentConnectionRefusalException extends ConnectionRefusalException { /** * {@inheritDoc}