Class EndpointSelectionTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.client.endpoint.EndpointGroupException
com.linecorp.armeria.client.endpoint.EndpointSelectionTimeoutException
- All Implemented Interfaces:
Serializable
An
EndpointGroupException
raised when an EndpointGroup
fails to resolve
an Endpoint
within a configured selection timeout.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionget
(EndpointGroup endpointGroup, long selectionTimeoutMillis) Returns anEndpointSelectionTimeoutException
which prints a message about theEndpointGroup
when thrown.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
get
public static EndpointSelectionTimeoutException get(EndpointGroup endpointGroup, long selectionTimeoutMillis) Returns anEndpointSelectionTimeoutException
which prints a message about theEndpointGroup
when thrown.
-