Class NoSuchBeanException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aspectran.core.component.bean.BeanException
com.aspectran.core.component.bean.NoSuchBeanException
- All Implemented Interfaces:
Serializable
The Class NoSuchBeanException.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoSuchBeanException
(Class<?> type) Instantiates a new NoSuchBeanException.NoSuchBeanException
(Class<?> type, String id) Instantiates a new NoSuchBeanException.Instantiates a new NoSuchBeanException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchBeanException
Instantiates a new NoSuchBeanException.- Parameters:
id
- the bean id
-
NoSuchBeanException
Instantiates a new NoSuchBeanException.- Parameters:
type
- the required type of the missing bean
-
NoSuchBeanException
Instantiates a new NoSuchBeanException.- Parameters:
type
- the required typeid
- the bean id
-
-
Method Details
-
getId
Returns the id of the missing bean.- Returns:
- the bean id
-
getType
Returns the type required type of the missing bean.- Returns:
- the required type
-