You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Nishtha Shah (Jira)" <ji...@apache.org> on 2023/05/19 13:47:00 UTC

[jira] [Assigned] (HADOOP-18745) Fix the exception message to print the Identifier pattern

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

Nishtha Shah reassigned HADOOP-18745:
-------------------------------------

    Assignee: Nishtha Shah

> Fix the exception message to print the Identifier pattern
> ---------------------------------------------------------
>
>                 Key: HADOOP-18745
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18745
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Nishtha Shah
>            Assignee: Nishtha Shah
>            Priority: Minor
>
> In case of an incorrect string passed as value, it would throw an exception, but the message doesn't print the identifier pattern.
> {code:java}
> java.lang.IllegalArgumentException: [] = [[a] must be {2}{code}
>  instead of 
> {code:java}
> java.lang.IllegalArgumentException: [] = [[a] must be [a-zA-Z_][a-zA-Z0-9_\-]*{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org