You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Juan Santos (Jira)" <ji...@apache.org> on 2020/03/21 15:40:00 UTC

[jira] [Commented] (WW-5052) Use TypeConversionException instead of StrutsException

    [ https://issues.apache.org/jira/browse/WW-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063945#comment-17063945 ] 

Juan Santos commented on WW-5052:
---------------------------------

Hi, I have started to work with this improvement, this is my branch
https://github.com/santosr09/struts/tree/imp-WW5052-TypeConversionException

So far I have only worked with the DateConverter

Regards

> Use TypeConversionException instead of StrutsException
> ------------------------------------------------------
>
>                 Key: WW-5052
>                 URL: https://issues.apache.org/jira/browse/WW-5052
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Lukasz Lenart
>            Priority: Major
>             Fix For: 2.6
>
>
> There is a dedicated exception which should be used when experiencing a conversion problem
> {noformat}
> TypeConversionException should be thrown by any TypeConverters which fail to convert values
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)