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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0, 5.0, 6u26
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_2.6, windows_7

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                naoto Naoto Sato
                Reporter:
                okutsu Masayoshi Okutsu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: