io.smallrye.stork.api.NoServiceInstanceFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stork-api Show documentation
Show all versions of stork-api Show documentation
Main Stork API classes. You are likely to need `smallrye-stork-core` and not this module.
The newest version!
package io.smallrye.stork.api;
/**
* Thrown by a {@link 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
*/
public class NoServiceInstanceFoundException extends RuntimeException {
/**
* Creates a new NoServiceInstanceFoundException.
*
* @param message the error message
*/
public NoServiceInstanceFoundException(String message) {
super(message);
}
/**
* Creates a new NoServiceInstanceFoundException.
*
* @param message the error message
* @param cause the cause
*/
public NoServiceInstanceFoundException(String message, Throwable cause) {
super(message, cause);
}
}