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

net.peachjean.commons.base.service.ServiceLookupException Maven / Gradle / Ivy

The newest version!
package net.peachjean.commons.base.service;

public class ServiceLookupException extends RuntimeException
{
	public  ServiceLookupException(final Class serviceType, final String name)
	{
		super(String.format("'%s' is not the name of an implementation of service %s nor is it a valid fully qualified class name.", name, serviceType.getName()));
	}

	public  ServiceLookupException(final Class serviceType, final Class fqcn)
	{
		super(String.format("Class %s is not an implementation of service %s.", fqcn.getName(), serviceType.getName()));
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy