Class NoSuchBeanException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NonUniqueBeanException

public class NoSuchBeanException extends BeanContextException
Thrown when no such beans exists.
Since:
1.0
Author:
Graeme Rocher
See Also:
  • Constructor Details

    • NoSuchBeanException

      public NoSuchBeanException(@NonNull @NonNull Class<?> beanType)
      Parameters:
      beanType - The bean type
    • NoSuchBeanException

      public NoSuchBeanException(@NonNull @NonNull Argument<?> beanType)
      Parameters:
      beanType - The bean type
    • NoSuchBeanException

      public NoSuchBeanException(@NonNull @NonNull Class<T> beanType, @Nullable @Nullable Qualifier<T> qualifier)
      Type Parameters:
      T - The type
      Parameters:
      beanType - The bean type
      qualifier - The qualifier
    • NoSuchBeanException

      public NoSuchBeanException(@NonNull @NonNull Argument<T> beanType, @Nullable @Nullable Qualifier<T> qualifier)
      Type Parameters:
      T - The type
      Parameters:
      beanType - The bean type
      qualifier - The qualifier
    • NoSuchBeanException

      public NoSuchBeanException(@NonNull @NonNull Argument<T> beanType, @Nullable @Nullable Qualifier<T> qualifier, String message)
      Type Parameters:
      T - The type
      Parameters:
      beanType - The bean type
      qualifier - The qualifier
      message - The message
      Since:
      4.0.0
    • NoSuchBeanException

      protected NoSuchBeanException(String message)
      Parameters:
      message - The message