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: [email protected]
For additional commands, e-mail: [email protected]