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

no.tornado.inject.BeanCreationException Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package no.tornado.inject;

public class BeanCreationException extends RuntimeException {
    private BeanInfo beanInfo;

    public BeanCreationException(BeanInfo beanInfo, Throwable cause) {
        super("Unable to create bean " + beanInfo.getBeanName(), cause);
        this.beanInfo = beanInfo;
    }

    public BeanCreationException(String message, BeanInfo beanInfo) {
        super(message);
        this.beanInfo = beanInfo;
    }

    public BeanCreationException(String message, BeanInfo beanInfo, Throwable cause) {
        super(message, cause);
        this.beanInfo = beanInfo;
    }

    public BeanInfo getBeanInfo() {
        return beanInfo;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy