geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Wrong exception thrown when value missing in config
Date Sun, 30 Jul 2017 08:06:39 GMT
+1

txs and LieGrue,
strub


> Am 30.07.2017 um 09:26 schrieb Romain Manni-Bucau <rmannibucau@gmail.com>:
> 
> +1
> 
> 
> Romain Manni-Bucau
> @rmannibucau |  Blog | Old Blog | Github | LinkedIn | JavaEE Factory
> 
> 2017-07-29 23:55 GMT+02:00 John D. Ament <johndament@apache.org>:
> I noticed the following logic:
> 
>                 if (!hasValue) {
>                     deploymentProblems.add(new IllegalArgumentException("Missing converter
for '" + key + "' from " + injectionPoint));
>                 }
> 
> The problem isn't that the converter is missing, but that the value is missing (and there's
no default set).  Anyone against fixing the message?
> 
> John
> 


Mime
View raw message