private void verifyTableExists ( BaseDaoImpl < ? , ? > dao ) { try { if ( ! dao . isTableExists ( ) ) { throw new GeoPackageException ( "Table or view does not exist for: " + dao . getDataClass ( ) . getSimpleName ( ) ) ; } } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to detect if table or view exists for dao: " + dao . getDataClass ( ) . getSimpleName ( ) , e ) ; } }
Verify table or view exists