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 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 Details

    • NoServiceInstanceFoundException

      public NoServiceInstanceFoundException(String message)
      Creates a new NoServiceInstanceFoundException.
      Parameters:
      message - the error message
    • NoServiceInstanceFoundException

      public NoServiceInstanceFoundException(String message, Throwable cause)
      Creates a new NoServiceInstanceFoundException.
      Parameters:
      message - the error message
      cause - the cause