[
https://issues.apache.org/jira/browse/HADOOP-15178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ajay Kumar updated HADOOP-15178:
--------------------------------
Description:
NetUtils#wrapException returns an IOException if exception passed to it is not
of type
SocketException,EOFException,NoRouteToHostException,SocketTimeoutException,UnknownHostException,ConnectException,BindException.
# By default, it should always return instance (subclass of IOException) of
same type unless a String constructor is not available.
> Generalize NetUtils#wrapException to handle other subclasses with String
> Constructor.
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-15178
> URL: https://issues.apache.org/jira/browse/HADOOP-15178
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Ajay Kumar
> Assignee: Ajay Kumar
> Priority: Major
>
> NetUtils#wrapException returns an IOException if exception passed to it is
> not of type
> SocketException,EOFException,NoRouteToHostException,SocketTimeoutException,UnknownHostException,ConnectException,BindException.
> # By default, it should always return instance (subclass of IOException) of
> same type unless a String constructor is not available.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]