net.anotheria.anoprise.metafactory.FactoryInstantiationError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ano-prise Show documentation
Show all versions of ano-prise Show documentation
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.
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 extends ServiceFactory extends Service>> 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