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

Add a constructor to IIOInvalidTreeException with a Throwable cause

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • generic
    • solaris_7

      The IIOInvalidTreeException class subclasses IIOException, which provides
      a constructor of the form (String message, Throwable cause). In the case
      where an exception occurs while attempting to parse a node, it would be
      desirable to attach the underlyin exception to the IIOInvalidTreeException.
      Although this can be accomplished by first constructing the exception and
      then calling initCause, it would be cleaner to provide a constructor
      that includes a Throwable argument, which would be passed up to the
      superclass constructor.

            dricesunw Daniel Rice (Inactive)
            dricesunw Daniel Rice (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: