Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4424325

Doc for exceptionListener parameter is incomplete.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.0, 5.0
    • docs
    • b28
    • generic, sparc
    • generic, solaris_2.6

      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.

      ======================================================================

            shommel Scott Hommel (Inactive)
            sdasunw Sda Sda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: