[jira] Created: (LANG-450) StringEscapeUtils uses printStackTrace()

View: New views
2 Messages — Rating Filter:   Alert me  

[jira] Created: (LANG-450) StringEscapeUtils uses printStackTrace()

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

StringEscapeUtils uses printStackTrace()
----------------------------------------

                 Key: LANG-450
                 URL: https://issues.apache.org/jira/browse/LANG-450
             Project: Commons Lang
          Issue Type: Improvement
            Reporter: Sebb
            Priority: Minor


StringEscapeUtils.escapeJavaStyleString() uses printStackTrace() and then returns null - but admittedly for an impossible situation.

It would probably be better to throw UnhandledException() - as is done in the Entities class for a similar situation.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (LANG-450) StringEscapeUtils uses printStackTrace()

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Henri Yandell closed LANG-450.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

> StringEscapeUtils uses printStackTrace()
> ----------------------------------------
>
>                 Key: LANG-450
>                 URL: https://issues.apache.org/jira/browse/LANG-450
>             Project: Commons Lang
>          Issue Type: Improvement
>            Reporter: Sebb
>            Priority: Minor
>             Fix For: 3.0
>
>
> StringEscapeUtils.escapeJavaStyleString() uses printStackTrace() and then returns null - but admittedly for an impossible situation.
> It would probably be better to throw UnhandledException() - as is done in the Entities class for a similar situation.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

LightInTheBox - Buy quality products at wholesale price