HHH-6691 Clarify exception thrown upon impossible unwrap operation

This commit is contained in:
Emmanuel Bernard 2011-09-29 15:36:58 +02:00
parent 02ab02d3fe
commit cbec206e2f
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}