geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Wrong exception thrown when value missing in config
Date Sun, 30 Jul 2017 07:26:43 GMT
+1


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

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