[ 
https://issues.apache.org/jira/browse/LANG-1369?focusedWorklogId=218143&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-218143
 ]

ASF GitHub Bot logged work on LANG-1369:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Mar/19 16:45
            Start Date: 25/Mar/19 16:45
    Worklog Time Spent: 10m 
      Work Description: jochenw commented on issue #414: LANG-1369: Formatted 
and Paramaterized Exception Classes
URL: https://github.com/apache/commons-lang/pull/414#issuecomment-476283146
 
 
   Would you please be so kind, and suggest a use case, which your pr is going 
to address. Cause, I don't see it immediately.
   
   Also a suggestion: Out in the wild, there are quite a number of Pattern 
format styles, including, for example
   
       Hi, guys, my name is {}.
   
       Hi, guys, my name is %s.
   
       Hi, guys, my name is %1.
   
   (Sure, a bit of digging would reveal others.) So, I would suggest, that
   
   1.  You replace the PatternFormatter with an interface, and a default 
implementation.
   2.  You replace the static ExceptionFactory with instance methods, that use 
a configurable instance. The static methods might be reimplemented using an 
instance of the default implementation.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 218143)
    Time Spent: 20m  (was: 10m)

> Formatted and Paramaterized Exception Classes
> ---------------------------------------------
>
>                 Key: LANG-1369
>                 URL: https://issues.apache.org/jira/browse/LANG-1369
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.exception.*
>    Affects Versions: 3.7
>            Reporter: David Mollitor
>            Priority: Major
>         Attachments: LANG-1369.1.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Add an {{ExceptionFactory}} for convenience when creating formatted Exception 
> messages.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to