Package io.smallrye.stork.api
Class NoServiceInstanceFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.smallrye.stork.api.NoServiceInstanceFoundException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NoAcceptableServiceInstanceFoundException
Thrown by a
LoadBalancer when it doesn't have service instances to choose from
or all available services are not valid to select, e.g. are determined to be faulty- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoServiceInstanceFoundException(String message) Creates a new NoServiceInstanceFoundException.NoServiceInstanceFoundException(String message, Throwable cause) Creates a new NoServiceInstanceFoundException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoServiceInstanceFoundException
Creates a new NoServiceInstanceFoundException.- Parameters:
message- the error message
-
NoServiceInstanceFoundException
Creates a new NoServiceInstanceFoundException.- Parameters:
message- the error messagecause- the cause
-