Class BeanNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.component.bean.BeanException
-
- com.aspectran.core.component.bean.BeanNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
RequiredTypeBeanNotFoundException
public class BeanNotFoundException extends BeanException
The Class BeanNotFoundException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeanNotFoundException(java.lang.Class<?> type)
Instantiates a new BeanNotFoundException.BeanNotFoundException(java.lang.String beanId)
Instantiates a new BeanNotFoundException.
-
Method Summary
Modifier and Type Method Description java.lang.String
getBeanId()
Gets the bean id.java.lang.Class<?>
getBeanType()
Gets the required type.
-
-
-
Constructor Detail
-
BeanNotFoundException
public BeanNotFoundException(java.lang.String beanId)
Instantiates a new BeanNotFoundException.- Parameters:
beanId
- the bean id
-
BeanNotFoundException
public BeanNotFoundException(java.lang.Class<?> type)
Instantiates a new BeanNotFoundException.- Parameters:
type
- the required type
-
-