Class NoConstructorWithAutowiredAnnotationBeanException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bobocode.bring.core.exception.NoConstructorWithAutowiredAnnotationBeanException
- All Implemented Interfaces:
Serializable
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNoConstructorWithAutowiredAnnotationBeanException
(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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
TWO_MANY_CONSTRUCTOR_FOUND
- See Also:
-
-
Constructor Details
-
NoConstructorWithAutowiredAnnotationBeanException
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 foundlistOfConstructors
- String representation of the list of constructors found for the class (to guide adding Autowired annotation to one of them)
-