* changes UnsupportedOperationException to assert.