Bug# 453208 - Changed condition for UnsupportedOperationException to fix failing tests.
Signed-off-by: Tomas Kraus <tomas.kraus@oracle.com>