CloneSet95


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11720.977catch_clauses
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1121271
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs
2111444
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs
3111628
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs
4111690
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs
5112779
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs
6112897
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs
7114053
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs
Clone Instance
1
Line Count
12
Source Line
1271
Source File
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

                        catch (DbException sqle)
                        {
                                var exceptionContext = new AdoExceptionContextInfo
                                                        {
                                                                SqlException = sqle,
                                                                Message =
                                                                        "could not initialize lazy properties: " + MessageHelper.InfoString(this, id, Factory),
                                                                Sql = SQLLazySelectString.ToString(),
                                                                EntityName = EntityName,
                                                                EntityId = id
                                                        } ;
                                throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, exceptionContext);
                        }


Clone Instance
2
Line Count
11
Source Line
1444
Source File
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

                        catch (DbException sqle)
                        {
                                var exceptionContext = new AdoExceptionContextInfo
                                                        {
                                                                SqlException = sqle,
                                                                Message = "could not retrieve snapshot: " + MessageHelper.InfoString(this, id, Factory),
                                                                Sql = SQLSnapshotSelectString.ToString(),
                                                                EntityName = EntityName,
                                                                EntityId = id
                                                        } ;
                                throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, exceptionContext);
                        }


Clone Instance
3
Line Count
11
Source Line
1628
Source File
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

                        catch (DbException sqle)
                        {
                                var exceptionContext = new AdoExceptionContextInfo
                                                        {
                                                                SqlException = sqle,
                                                                Message = "could not retrieve version: " + MessageHelper.InfoString(this, id, Factory),
                                                                Sql = VersionSelectString.ToString(),
                                                                EntityName = EntityName,
                                                                EntityId = id
                                                        } ;
                                throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, exceptionContext);
                        }


Clone Instance
4
Line Count
11
Source Line
1690
Source File
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

                        catch (DbException sqle)
                        {
                                var exceptionContext = new AdoExceptionContextInfo
                                                        {
                                                                SqlException = sqle,
                                                                Message = "could not retrieve version: " + MessageHelper.InfoString(this, id, Factory),
                                                                Sql = VersionSelectString.ToString(),
                                                                EntityName = EntityName,
                                                                EntityId = id
                                                        } ;
                                throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, exceptionContext);
                        }


Clone Instance
5
Line Count
11
Source Line
2779
Source File
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

                        catch (DbException sqle)
                        {
                                var exceptionContext = new AdoExceptionContextInfo
                                                        {
                                                                SqlException = sqle,
                                                                Message = "could not update: " + MessageHelper.InfoString(this, id, Factory),
                                                                Sql = sql.Text.ToString(),
                                                                                                                                        EntityName = EntityName,
                                                                                                                                        EntityId = id
                                                        } ;
                                throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, exceptionContext);
                        }


Clone Instance
6
Line Count
11
Source Line
2897
Source File
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

                        catch (DbException sqle)
                        {
                                var exceptionContext = new AdoExceptionContextInfo
                                                        {
                                                                SqlException = sqle,
                                                                Message = "could not delete: " + MessageHelper.InfoString(this, id, Factory),
                                                                Sql = sql.Text.ToString(),
                                                                EntityName = EntityName,
                                                                EntityId = id
                                                        } ;
                                throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, exceptionContext);
                        }


Clone Instance
7
Line Count
11
Source Line
4053
Source File
src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

                        catch (DbException sqle)
                        {
                                var exceptionContext = new AdoExceptionContextInfo
                                                        {
                                                                SqlException = sqle,
                                                                Message = "could not retrieve snapshot: " + MessageHelper.InfoString(this, id, Factory),
                                                                Sql = sql.ToString(),
                                                                EntityName = EntityName,
                                                                EntityId = id
                                                        } ;
                                throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, exceptionContext);
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

catch (DbException sqle)
{
   var exceptionContext = new AdoExceptionContextInfo {
                                                         SqlException = sqle, Message = [[#variable6d88f2c0]]+ MessageHelper.InfoString(this, id, Factory), Sql = [[#variable6d88f260]].ToString(), EntityName = EntityName, EntityId = id
                                                      } ;
   throw ADOExceptionHelper.Convert(Factory.SQLExceptionConverter, exceptionContext);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6d88f2c0]]
"could not retrieve version: " 
12[[#6d88f2c0]]
"could not initialize lazy properties: " 
13[[#6d88f2c0]]
"could not retrieve snapshot: " 
14[[#6d88f2c0]]
"could not update: " 
15[[#6d88f2c0]]
"could not delete: " 
16[[#6d88f2c0]]
"could not retrieve snapshot: " 
17[[#6d88f2c0]]
"could not retrieve version: " 
21[[#6d88f260]]
VersionSelectString 
22[[#6d88f260]]
SQLLazySelectString 
23[[#6d88f260]]
SQLSnapshotSelectString 
24[[#6d88f260]]
sql.Text 
25[[#6d88f260]]
sql.Text 
26[[#6d88f260]]
sql 
27[[#6d88f260]]
VersionSelectString