All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.smallrye.stork.api.NoSuchServiceDefinitionException Maven / Gradle / Ivy

Go to download

Main Stork API classes. You are likely to need `smallrye-stork-core` and not this module.

The newest version!
package io.smallrye.stork.api;

/**
 * Exception thrown when Stork does not have a {@link Service} associated with a given name.
 */
public class NoSuchServiceDefinitionException extends RuntimeException {

    /**
     * Creates a new instance of NoSuchServiceDefinitionException.
     *
     * @param serviceName the service name
     */
    public NoSuchServiceDefinitionException(String serviceName) {
        super("No service defined for name " + serviceName);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy