Class NoConstructorWithAutowiredAnnotationBeanException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bobocode.bring.core.exception.NoConstructorWithAutowiredAnnotationBeanException
All Implemented Interfaces:
Serializable

public class NoConstructorWithAutowiredAnnotationBeanException extends RuntimeException
Exception thrown to indicate that no constructor with the Autowired annotation is found for a bean class within a Bring Dependency Injection framework.
Since:
1.0
Author:
Blyzhnytsia Team
See Also:
  • Field Details

  • Constructor Details

    • NoConstructorWithAutowiredAnnotationBeanException

      public NoConstructorWithAutowiredAnnotationBeanException(Class<T> clazz, String listOfConstructors)
      Constructs a new NoConstructorWithAutowiredAnnotationBeanException with a message indicating the absence of a constructor with the Autowired annotation for the specified class.
      Type Parameters:
      T - The class type
      Parameters:
      clazz - The class for which no constructor with Autowired annotation is found
      listOfConstructors - String representation of the list of constructors found for the class (to guide adding Autowired annotation to one of them)