Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 4 | 5 | 0.956 | specific_catch_clause |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 1442 | src/NHibernate/Loader/Loader.cs |
2 | 5 | 1523 | src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs |
3 | 5 | 1574 | src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs |
4 | 5 | 1617 | src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs |
| ||||
catch (Exception sqle) { throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, sqle, "could not load an entity batch: " + MessageHelper.InfoString(persister, ids, Factory), SqlString); // NH: Hibernate3 passes EntityPersisters[0] instead of persister, I think it's wrong. } |
| ||||
catch (DbException sqle) { throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, sqle, "could not retrieve collection size: " + MessageHelper.InfoString(this, key, Factory), sqlSelectSizeString); } |
| ||||
catch (DbException sqle) { throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, sqle, "could not check row existence: " + MessageHelper.InfoString(this, key, Factory), sqlSelectSizeString); } |
| ||||
catch (DbException sqle) { throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, sqle, "could not read row: " + MessageHelper.InfoString(this, key, Factory), sqlSelectSizeString); } |
| |||
catch ( [[#variable27ef1320]]sqle) { throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, sqle, [[#variable27ef12a0]]+ MessageHelper.InfoString( [[#variable27ef1200]], [[#variable27ef11a0]], Factory), [[#variable27ef1120]]); // NH: Hibernate3 passes EntityPersisters[0] instead of persister, I think it's wrong. } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27ef1320]] | DbException |
1 | 2 | [[#27ef1320]] | DbException |
1 | 3 | [[#27ef1320]] | DbException |
1 | 4 | [[#27ef1320]] | Exception |
2 | 1 | [[#27ef12a0]] | "could not retrieve collection size: " |
2 | 2 | [[#27ef12a0]] | "could not check row existence: " |
2 | 3 | [[#27ef12a0]] | "could not read row: " |
2 | 4 | [[#27ef12a0]] | "could not load an entity batch: " |
3 | 1 | [[#27ef1200]] | this |
3 | 2 | [[#27ef1200]] | this |
3 | 3 | [[#27ef1200]] | this |
3 | 4 | [[#27ef1200]] | persister |
4 | 1 | [[#27ef11a0]] | key |
4 | 2 | [[#27ef11a0]] | key |
4 | 3 | [[#27ef11a0]] | key |
4 | 4 | [[#27ef11a0]] | ids |
5 | 1 | [[#27ef1120]] | sqlSelectSizeString |
5 | 2 | [[#27ef1120]] | sqlSelectSizeString |
5 | 3 | [[#27ef1120]] | sqlSelectSizeString |
5 | 4 | [[#27ef1120]] | SqlString |