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

RFE: add cause constructor to all sdk exceptions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • core-libs



      Name: rl43681 Date: 10/02/2002


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

      FULL OPERATING SYSTEM VERSION :
      Linux 2.4.18-4GB
      Windows 2000


      A DESCRIPTION OF THE PROBLEM :
      In java version 1.4, the Exception/RuntimeException class
      introduce the constructor with cause parameter.
      The Exception inside the JDK inerit from
      Exception/RuntimeException ( i.e. IllegalStateException)
      ignore this constructor. It will be nice if these
      Exception's overwrite the new constructer so you be able to
      use it.


      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Review ID: 164285)
      ======================================================================

            jjb Josh Bloch
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: