mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 20:24:46 +00:00
HHH-6691 Clarify exception thrown upon impossible unwrap operation
This commit is contained in:
parent
02ab02d3fe
commit
cbec206e2f
@ -46,6 +46,8 @@ public interface Wrapped {
|
||||
* @param unwrapType The java type as which to unwrap this instance.
|
||||
*
|
||||
* @return The unwrapped reference
|
||||
*
|
||||
* @throws UnknownUnwrapTypeException if the servicebe unwrapped as the indicated type
|
||||
*/
|
||||
public <T> T unwrap(Class<T> unwrapType);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user