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

net.anotheria.anoprise.metafactory.FactoryInstantiationError Maven / Gradle / Ivy

Go to download

Collection of utils for different enterprise class projects. Among other stuff contains Caches, Mocking, DualCrud, MetaFactory and SessionDistributorService. Visit https://opensource.anotheria.net for details.

There is a newer version: 4.0.0
Show newest version
package net.anotheria.anoprise.metafactory;

/**
 * Thrown if a factory for a service can't be loaded.
 * 
 * @author lrosenberg
 * @version 1.0, 2010/02/02
 */
public class FactoryInstantiationError extends MetaFactoryException {

	/**
	 * Basic serialVersionUID variable.
	 */
	private static final long serialVersionUID = 6686753678429219710L;

	/**
	 * Default constructor.
	 * 
	 * @param clazz
	 * @param serviceName
	 * @param reason
	 */
	public FactoryInstantiationError(Class> clazz, String serviceName, String reason) {
		super("Couldn't load factory of class " + clazz + " for service: " + serviceName + " because: " + reason);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy