Class EmptyEndpointGroupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.client.endpoint.EndpointGroupException
com.linecorp.armeria.client.endpoint.EmptyEndpointGroupException
- All Implemented Interfaces:
Serializable
An
EndpointGroupException
raised when the resolution of an EndpointGroup
fails
because there are no Endpoint
s in the EndpointGroup
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic EmptyEndpointGroupException
get()
Returns anEmptyEndpointGroupException
which may be a singleton or a new instance, depending onFlags.verboseExceptionSampler()
's decision.static EmptyEndpointGroupException
get
(@Nullable EndpointGroup endpointGroup) Returns anEmptyEndpointGroupException
which may be a singleton or a new instance, depending onFlags.verboseExceptionSampler()
's decision.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
get
Returns anEmptyEndpointGroupException
which may be a singleton or a new instance, depending onFlags.verboseExceptionSampler()
's decision. IfendpointGroup
is non-null, a new instance is always returned. -
get
Returns anEmptyEndpointGroupException
which may be a singleton or a new instance, depending onFlags.verboseExceptionSampler()
's decision.
-