Class BeanInstantiationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.component.bean.BeanException
-
- com.aspectran.core.component.bean.BeanInstantiationException
-
- All Implemented Interfaces:
java.io.Serializable
public class BeanInstantiationException extends BeanException
Exception thrown when instantiation of a bean failed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeanInstantiationException(java.lang.Class<?> beanClass, java.lang.String msg)
Create a new BeanInstantiationException.BeanInstantiationException(java.lang.Class<?> beanClass, java.lang.String msg, java.lang.Throwable cause)
Create a new BeanInstantiationException.BeanInstantiationException(java.lang.Class<?> beanClass, java.lang.Throwable cause)
Create a new BeanInstantiationException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getBeanClass()
Return the offending bean class.
-
-
-
Constructor Detail
-
BeanInstantiationException
public BeanInstantiationException(java.lang.Class<?> beanClass, java.lang.Throwable cause)
Create a new BeanInstantiationException.- Parameters:
beanClass
- the offending bean classcause
- the root cause
-
BeanInstantiationException
public BeanInstantiationException(java.lang.Class<?> beanClass, java.lang.String msg, java.lang.Throwable cause)
Create a new BeanInstantiationException.- Parameters:
beanClass
- the offending bean classmsg
- the detail messagecause
- the root cause
-
BeanInstantiationException
public BeanInstantiationException(java.lang.Class<?> beanClass, java.lang.String msg)
Create a new BeanInstantiationException.- Parameters:
beanClass
- the offending bean classmsg
- the detail message
-
-