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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 1.4.0, 5.0, 6u26, 20
    • Component/s: 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

            Assignee:
            Justin Lu
            Reporter:
            Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: