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:
java.io.Serializable
public class NoSuchBeanException extends BeanException
The Class NoSuchBeanException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchBeanException(java.lang.Class<?> type)
Instantiates a new NoSuchBeanException.NoSuchBeanException(java.lang.Class<?> type, java.lang.String id)
Instantiates a new NoSuchBeanException.NoSuchBeanException(java.lang.String id)
Instantiates a new NoSuchBeanException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
Returns the id of the missing bean.java.lang.Class<?>
getType()
Returns the type required type of the missing bean.
-
-
-
Constructor Detail
-
NoSuchBeanException
public NoSuchBeanException(java.lang.String id)
Instantiates a new NoSuchBeanException.- Parameters:
id
- the bean id
-
NoSuchBeanException
public NoSuchBeanException(java.lang.Class<?> type)
Instantiates a new NoSuchBeanException.- Parameters:
type
- the required type of the missing bean
-
NoSuchBeanException
public NoSuchBeanException(java.lang.Class<?> type, java.lang.String id)
Instantiates a new NoSuchBeanException.- Parameters:
type
- the required typeid
- the bean id
-
-