Name: dsR10051 Date: 03/12/2001
Javadoc for exceptionListener parameter of some public members of
java.beans.XMLDecoder class is incomplete.
1.
Spec for constructor
XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener)
has no @param tag for exceptionListener
2.
Spec for constructor and method
XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener)
setExceptionListener(ExceptionListener exceptionListener)
does not specify their behavior if exceptionListener is null.
In this case getExceptionListener method
returns default ExceptionListener object. It should be documented.
3.
The default return value of getExceptionListener() method should also be
documented.
======================================================================
Javadoc for exceptionListener parameter of some public members of
java.beans.XMLDecoder class is incomplete.
1.
Spec for constructor
XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener)
has no @param tag for exceptionListener
2.
Spec for constructor and method
XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener)
setExceptionListener(ExceptionListener exceptionListener)
does not specify their behavior if exceptionListener is null.
In this case getExceptionListener method
returns default ExceptionListener object. It should be documented.
3.
The default return value of getExceptionListener() method should also be
documented.
======================================================================