Package io.servicetalk.client.api
Class ConnectionRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.SocketException
io.servicetalk.client.api.ConnectionRejectedException
- All Implemented Interfaces:
RetryableException
,Serializable
Thrown when a newly created connection was rejected.
- See Also:
-
Constructor Summary
ConstructorDescriptionConnectionRejectedException
(String message) Creates a new instance.ConnectionRejectedException
(String message, Throwable cause) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectionRejectedException
Creates a new instance.- Parameters:
message
- the detail message.
-
ConnectionRejectedException
Creates a new instance.- Parameters:
message
- the detail message.cause
- the cause.
-