fixed exception type while unable to create TableProvider