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…
Reference in New Issue