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

(throw spec) Documentation for Throwable.toString is wrong

XMLWordPrintable

    • b78
    • generic
    • generic

      Name: rmT116609 Date: 02/24/2002


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      DESCRIPTION OF THE PROBLEM :
      The documentation for Throwable.toString() is inconsistent with Sun's behavior. You should document that the detail string that appears in the result is produced by getLocalizedMessage(), rather than stating that it is the non-null detail message passed in at creation.


      (Review ID: 143264)
      ======================================================================

            sseligmasunw Scott Seligman (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: