[jboss-jira] [JBoss JIRA] (LOGMGR-129) Create a better error message if the time zone argument is missing from the %z format pattern

James Perkins (JIRA) issues at jboss.org
Wed Apr 6 17:38:00 EDT 2016


     [ https://issues.jboss.org/browse/LOGMGR-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins updated LOGMGR-129:
---------------------------------
    Description: 
Using the {{%z}} format pattern and not including a time zone argument results in an NPE. A better error message should be thrown indicating an argument is required.
{code:title=Example pattern}
%z{GMT}
{code}

A bonus would be to possibly add a warning, once only though, if the time {{%d}} was processed before the time zone {{%z}}.

  was:
Using the {{%z}} format pattern and not including a time zone argument results in an NPE. A better error message should be thrown indicating an argument is required.
{code:title=Example pattern}
%z{GMT}
{code}



> Create a better error message if the time zone argument is missing from the %z format pattern
> ---------------------------------------------------------------------------------------------
>
>                 Key: LOGMGR-129
>                 URL: https://issues.jboss.org/browse/LOGMGR-129
>             Project: JBoss Log Manager
>          Issue Type: Task
>            Reporter: James Perkins
>
> Using the {{%z}} format pattern and not including a time zone argument results in an NPE. A better error message should be thrown indicating an argument is required.
> {code:title=Example pattern}
> %z{GMT}
> {code}
> A bonus would be to possibly add a warning, once only though, if the time {{%d}} was processed before the time zone {{%z}}.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list