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

ExceptionInInitializer causes obscure stack traces.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.1.2
    • core-libs
    • None
    • x86
    • windows_nt



      Name: rlT66838 Date: 08/27/97


      Quite often is is necessary to convert one
      type of exception into an other. For example
      if an exception is thrown in an initializer,
      the exception is converted into
      java.lang.ExceptionInInitializerError. When
      this happens the stack trace of the initial
      exception is lost. Could a constructor be
      added to Exception, such that it would take
      another exception as a parameter, and be able
      to display the other exceptions StackTrace.
      ======================================================================

            apalanissunw Anand Palaniswamy (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: