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

net.happyonroad.spring.ServiceNotFoundException Maven / Gradle / Ivy

Go to download

The spring component framework is used to setup a plugin based, micro-kernel, standalone application (today, we will support webapp in later releases) which is based on SpringFramework. It can help you decouple your application into several components clearly with zero invasion and keep your application consistent between develop time and runtime.

The newest version!
/**
 * @author XiongJie, Date: 13-10-30
 */
package net.happyonroad.spring;

/** 服务未找到异常 */
public class ServiceNotFoundException extends Exception {
    private final SpringServiceImporter importer;

    public ServiceNotFoundException(SpringServiceImporter importer) {
        super("Can't find service " + importer + " in global registry");
        this.importer = importer;
    }

    @SuppressWarnings("UnusedDeclaration")
    public SpringServiceImporter getImporter() {
        return importer;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy