Class NoSuchBeanException

All Implemented Interfaces:
Serializable

public class NoSuchBeanException extends BeanException
The Class NoSuchBeanException.
See Also:
  • Constructor Details

    • NoSuchBeanException

      public NoSuchBeanException(String id)
      Instantiates a new NoSuchBeanException.
      Parameters:
      id - the bean id
    • NoSuchBeanException

      public NoSuchBeanException(Class<?> type)
      Instantiates a new NoSuchBeanException.
      Parameters:
      type - the required type of the missing bean
    • NoSuchBeanException

      public NoSuchBeanException(Class<?> type, String id)
      Instantiates a new NoSuchBeanException.
      Parameters:
      type - the required type
      id - the bean id
  • Method Details

    • getId

      public String getId()
      Returns the id of the missing bean.
      Returns:
      the bean id
    • getType

      public Class<?> getType()
      Returns the type required type of the missing bean.
      Returns:
      the required type