Forward IOException in ClassFileArchiveEntryHandler::toClassFile

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.

Environment

None

Activity

Show:
Gail Badner
May 19, 2017, 12:36 AM

Assignee

Vlad Mihalcea

Reporter

Vlad Mihalcea

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure