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
public class NoServiceInstanceFoundException extends RuntimeException
Thrown by aLoadBalancerwhen 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoServiceInstanceFoundException(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 Detail
-
NoServiceInstanceFoundException
public NoServiceInstanceFoundException(String message)
Creates a new NoServiceInstanceFoundException.- Parameters:
message- the error message
-
-