Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Sling Models Impl 1.2.6
Description
it is possible to use the @Inject annotation in combination with @Source and specifying a injection source via its identifier as string.
if this string is invalid currently a NPE is thrown internally and logged as warning. instead of the NPE another exception should be thrown including an error message containing the invalid source id to hint what is the real problem.