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

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

Nishtha Shah created HADOOP-18745:
-------------------------------------

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org