no.tornado.inject.BeanCreationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of inject Show documentation
Show all versions of inject Show documentation
Dependency Injection and Module framework
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;
}
}