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

Make MirroredTypesException be the parent class of MirroredTypeException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 7
    • 7
    • core-libs
    • None

      To allow fewer catch blocks to do more, it would help if MirroredTypesException and MirroredTypeException to have superclass-subclass relationship rather than just both being runtime exceptions. MirroredTypeException should be the specialized type since it fundamentally just should return a list of length one.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: