[
https://issues.apache.org/jira/browse/AXIS2-6054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895210#comment-17895210
]
Christian Ortlepp commented on AXIS2-6054:
------------------------------------------
[[email protected]] can you provide such a stacktrace? I just looked into this,
and from the first look the implementation I found seems correct to me (in
[BeanUtil|https://github.com/apache/axis-axis2-java-core/blob/af639bac57491f8d99d67da64b314003b41b286f/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java#L1090]
the implementation invokes Enum.valueOf(), which throws an
IllegalArgumentException with the class and value in it's message).
> when an inexistent enum value arrives, do not just throw an
> IllegalArgumentException without any exception
> ----------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-6054
> URL: https://issues.apache.org/jira/browse/AXIS2-6054
> Project: Axis2
> Issue Type: Improvement
> Components: adb
> Affects Versions: 1.8.2
> Reporter: Ralf Hauser
> Assignee: Robert Lazarski
> Priority: Major
> Fix For: 2.0.0
>
>
> but create a message string that names the enum class and (at least a few
> characters of) the value
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]