Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 0 | 1.000 | catch_clauses |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 91 | src/NHibernate/Dialect/Lock/SelectLockingStrategy.cs |
2 | 16 | 103 | src/NHibernate/Dialect/Lock/UpdateLockingStrategy.cs |
| ||||
catch (HibernateException) { // Do not call Convert on HibernateExceptions throw; } catch (Exception sqle) { var exceptionContext = new AdoExceptionContextInfo { SqlException = sqle, Message = "could not lock: " + MessageHelper.InfoString(lockable, id, factory), Sql = sql.ToString(), EntityName = lockable.EntityName, EntityId = id } ; throw ADOExceptionHelper.Convert(session.Factory.SQLExceptionConverter, exceptionContext); } |
| ||||
catch (HibernateException) { // Do not call Convert on HibernateExceptions throw; } catch (Exception sqle) { var exceptionContext = new AdoExceptionContextInfo { SqlException = sqle, Message = "could not lock: " + MessageHelper.InfoString(lockable, id, factory), Sql = sql.ToString(), EntityName = lockable.EntityName, EntityId = id } ; throw ADOExceptionHelper.Convert(session.Factory.SQLExceptionConverter, exceptionContext); } |
| |||
catch (HibernateException) { // Do not call Convert on HibernateExceptions throw; } catch (Exception sqle) { var exceptionContext = new AdoExceptionContextInfo { SqlException = sqle, Message = "could not lock: " + MessageHelper.InfoString(lockable, id, factory), Sql = sql.ToString(), EntityName = lockable.EntityName, EntityId = id } ; throw ADOExceptionHelper.Convert(session.Factory.SQLExceptionConverter, exceptionContext); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |