Class NoSuchBeanTypeException

All Implemented Interfaces:
Serializable

public class NoSuchBeanTypeException extends NoSuchBeanException
A runtime exception if a given bean type could not be found in the Registry
Since:
4.2
See Also:
  • Constructor Details

    • NoSuchBeanTypeException

      public NoSuchBeanTypeException(Class<?> type)
      Parameters:
      type - the expected type that could not be found in the registry
    • NoSuchBeanTypeException

      public NoSuchBeanTypeException(Class<?> type, int size)
      Parameters:
      type - the expected type that could not be uniquely resolved in the registry
      size - the number of beans found with that type