This is anther issue. But indeed the exception is not optimal.