当前页面:
在线文档首页 >
Spring Framework 2.1.0 API 文档英文版
BeanInstantiationException (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版
org.springframework.beans
Class BeanInstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.FatalBeanException
org.springframework.beans.BeanInstantiationException
- All Implemented Interfaces:
- Serializable
public class BeanInstantiationException
- extends FatalBeanException
Exception thrown when instantiation of a bean failed.
Carries the offending bean class.
- Since:
- 1.2.8
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
BeanInstantiationException
public BeanInstantiationException(Class beanClass,
String msg)
- Create a new BeanInstantiationException.
- Parameters:
beanClass
- the offending bean classmsg
- the detail message
BeanInstantiationException
public BeanInstantiationException(Class beanClass,
String msg,
Throwable cause)
- Create a new BeanInstantiationException.
- Parameters:
beanClass
- the offending bean classmsg
- the detail messagecause
- the root cause
getBeanClass
public Class getBeanClass()
- Return the offending bean class.
Copyright © 2002-2007 The Spring Framework.