Raise exception on unsupported data type