[ 
https://issues.apache.org/jira/browse/CXF-7327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Kieselhorst updated CXF-7327:
------------------------------------
    Estimated Complexity: Novice  (was: Unknown)

> Improve logging for invalid enum values
> ---------------------------------------
>
>                 Key: CXF-7327
>                 URL: https://issues.apache.org/jira/browse/CXF-7327
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>    Affects Versions: 3.1.10
>            Reporter: Dennis Kieselhorst
>            Priority: Trivial
>
> If an enum is used as QueryParam and an empty or invalid value is supplied, 
> this is logged as CLASS_VALUE_OF_FAILURE with level severe.
> {noformat}
> ERROR o.apache.cxf.jaxrs.utils.InjectionUtils  : Instance of class 
> de.dekies.MyEnum can not be created using static valueOf(String) or 
> fromString(String) methods
> {noformat}
> Can we reduce it to warning? It's not really an error when the user of an API 
> supplies wrong parameters and sometimes log files are monitored for errors.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to