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

Sean Busbey updated HADOOP-11103:
---------------------------------
    Description: 
RemoteException has a number of undocumented behaviors

* o.a.h.ipc.RemoteException has no javadocs on getClassName. Reading the 
source, the String returned is the classname of the wrapped remote exception.
* RemoteException(String, String) is equivalent to calling 
RemoteException(String, String, null)
* Constructors allow null for all arguments
* Some of the test code doesn't check for correct error codes to correspond 
with the wrapped exception type
* methods don't document when they might return null

  was:
o.a.h.ipc.RemoteException has no javadocs on getClassName. Reading the source, 
the String returned is the classname of the wrapped remote exception.

Update the javadocs to say as much.

        Summary: Clean up RemoteException  (was: RemoteException getClassName 
should document what class it is naming)

> Clean up RemoteException
> ------------------------
>
>                 Key: HADOOP-11103
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11103
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Sean Busbey
>            Priority: Trivial
>
> RemoteException has a number of undocumented behaviors
> * o.a.h.ipc.RemoteException has no javadocs on getClassName. Reading the 
> source, the String returned is the classname of the wrapped remote exception.
> * RemoteException(String, String) is equivalent to calling 
> RemoteException(String, String, null)
> * Constructors allow null for all arguments
> * Some of the test code doesn't check for correct error codes to correspond 
> with the wrapped exception type
> * methods don't document when they might return null



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to