[ https://issues.apache.org/jira/browse/HDFS-10204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15225850#comment-15225850 ]
Lin Yiqun commented on HDFS-10204: ---------------------------------- Hi, [~aw], what do you think of this? > Use HadoopIllegalArgumentException replace IllegalArgumentException in > hadoop-hdfs > ---------------------------------------------------------------------------------- > > Key: HDFS-10204 > URL: https://issues.apache.org/jira/browse/HDFS-10204 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Lin Yiqun > Assignee: Lin Yiqun > Attachments: HDFS-10204.001.patch, HDFS-10204.002.patch, > HDFS-10204.003.patch > > > In HDFS-1151, it recommended that HDFS should throw > HadoopIllegalArgumentException instead of IllegalArgumentException as > described in HADOOP-6537. The intent of that was to differentiate > IllegalArgumentException thrown by Hadoop rather than JDK. And in current > code, some palces has used {{HadoopIllegalArgumentException}}. But the most > of them were still using {{IllegalArgumentException}}. > Current JIRA's scope focused on hadoop-hdfs, other project > hadoop-hdfs-client, etc can be updated later. -- This message was sent by Atlassian JIRA (v6.3.4#6332)