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

(cal) API: Calendar methods taking field should document exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 1.4.0, 5.0, 6u26, 20
    • core-libs
    • b20
    • generic, x86, sparc
    • generic, solaris_2.6, windows_7

      All Calendar methods which take a field index should consistently throw ArrayIndexOutOfBoundsException with an out-of-range index value. Some methods throw an IllegalArgumentException. And these are not documented.
      ###@###.### 2002-08-28

            jlu Justin Lu
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: