CloneSet544


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5450.956specific_catch_clause
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151442
src/NHibernate/Loader/Loader.cs
251523
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs
351574
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs
451617
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs
Clone Instance
1
Line Count
5
Source Line
1442
Source File
src/NHibernate/Loader/Loader.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.
                        }


Clone Instance
2
Line Count
5
Source Line
1523
Source File
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs

                        catch (DbException sqle)
                        {
                                throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, sqle,
                                                                 "could not retrieve collection size: " +
                                                                   MessageHelper.InfoString(this, key, Factory), sqlSelectSizeString);
                        }


Clone Instance
3
Line Count
5
Source Line
1574
Source File
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs

                        catch (DbException sqle)
                        {
                                throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, sqle,
                                                                 "could not check row existence: " + MessageHelper.InfoString(this, key, Factory),
                                                                 sqlSelectSizeString);
                        }


Clone Instance
4
Line Count
5
Source Line
1617
Source File
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs

                        catch (DbException sqle)
                        {
                                throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, sqle,
                                                                 "could not read row: " + MessageHelper.InfoString(this, key, Factory),
                                                                 sqlSelectSizeString);
                        }


Clone AbstractionParameter Count: 5Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#27ef1320]]
DbException 
12[[#27ef1320]]
DbException 
13[[#27ef1320]]
DbException 
14[[#27ef1320]]
Exception 
21[[#27ef12a0]]
"could not retrieve collection size: " 
22[[#27ef12a0]]
"could not check row existence: " 
23[[#27ef12a0]]
"could not read row: " 
24[[#27ef12a0]]
"could not load an entity batch: " 
31[[#27ef1200]]
this 
32[[#27ef1200]]
this 
33[[#27ef1200]]
this 
34[[#27ef1200]]
persister 
41[[#27ef11a0]]
key 
42[[#27ef11a0]]
key 
43[[#27ef11a0]]
key 
44[[#27ef11a0]]
ids 
51[[#27ef1120]]
sqlSelectSizeString 
52[[#27ef1120]]
sqlSelectSizeString 
53[[#27ef1120]]
sqlSelectSizeString 
54[[#27ef1120]]
SqlString