public class BeanInstantiationException extends BeanException
Constructor and Description |
---|
BeanInstantiationException(Class<?> beanClass,
Throwable cause)
Create a new BeanInstantiationException.
|
BeanInstantiationException(String msg,
Class<?> beanClass)
Create a new BeanInstantiationException.
|
BeanInstantiationException(String msg,
Class<?> beanClass,
Throwable cause)
Create a new BeanInstantiationException.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getBeanClass()
Return the offending bean class.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BeanInstantiationException(Class<?> beanClass, Throwable cause)
beanClass
- the offending bean classcause
- the root causepublic BeanInstantiationException(String msg, Class<?> beanClass, Throwable cause)
msg
- the detail messagebeanClass
- the offending bean classcause
- the root causepublic Class<?> getBeanClass()
Copyright © 2008–2017 Aspectran.com. All rights reserved.