EventObject's constructor throws IllegalArgumentException

XMLWordPrintable

    • generic
    • generic

      The constructor of java.util.EventObject throws an IllegalArgumentException if null is passed for the source parameter. However, this exception is not mentioned in the specification.
      It is also debatable if this should rather be a NullPointerException or why it is necessary to reject null at all.

            Assignee:
            Unassigned
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: