Uploaded image for project: 'Hibernate ORM'
  1. HHH-11551

Forward IOException in ClassFileArchiveEntryHandler::toClassFile

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.8
    • Fix Version/s: 5.2.9
    • Component/s: hibernate-core
    • Labels:
      None

      Description

      The ClassFileArchiveEntryHandler toClassFile method catches an IOException }} and rethrows it as an {{ArchiveException, therefore losing the original context of the IO-related problem.

      We should propagate the original exception along with the ArchiveException so that it's easier for the Hibernate user to spot a certain failure.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: