Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 3 | 0.963 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 41 | src/NHibernate/AssertionFailure.cs |
2 | 18 | 61 | src/NHibernate/LazyInitializationException.cs |
| ||||
/// <summary> /// Initializes a new instance of the <see cref="AssertionFailure"/> class. /// </summary> /// <param name="message">The message that describes the error. </param> /// <param name="innerException"> /// The exception that is the cause of the current exception. If the innerException parameter /// is not a null reference, the current exception is raised in a catch block that handles /// the inner exception. /// </param> public AssertionFailure(string message, Exception innerException) : base(message, innerException) { LogManager.GetLogger( typeof(AssertionFailure)).Error(DefaultMessage, innerException); } /// <summary> /// Initializes a new instance of the <see cref="AssertionFailure"/> class. /// </summary> /// <param name="info"> /// The <see cref="SerializationInfo"/> that holds the serialized object /// data about the exception being thrown. /// </param> /// <param name="context"> /// The <see cref="StreamingContext"/> that contains contextual information about the source or destination. /// </param> protected AssertionFailure(SerializationInfo info, StreamingContext context) : base(info, context) { } |
| ||||
/// <summary> /// Initializes a new instance of the <see cref="LazyInitializationException"/> class. /// </summary> /// <param name="message">The message that describes the error. </param> /// <param name="innerException"> /// The exception that is the cause of the current exception. If the innerException parameter /// is not a null reference, the current exception is raised in a catch block that handles /// the inner exception. /// </param> public LazyInitializationException(string message, Exception innerException) : base(message, innerException) { LogManager.GetLogger( typeof(LazyInitializationException)).Error(message, this ); } /// <summary> /// Initializes a new instance of the <see cref="LazyInitializationException"/> class /// with serialized data. /// </summary> /// <param name="info"> /// The <see cref="SerializationInfo"/> that holds the serialized object /// data about the exception being thrown. /// </param> /// <param name="context"> /// The <see cref="StreamingContext"/> that contains contextual information about the source or destination. /// </param> protected LazyInitializationException(SerializationInfo info, StreamingContext context) : base(info, context) { } |
| |||
/// <summary> /// Initializes a new instance of the <see cref="LazyInitializationException"/> class. /// Initializes a new instance of the <see cref="AssertionFailure"/> class. /// </summary> /// <param name="message">The message that describes the error. </param> /// <param name="innerException"> /// The exception that is the cause of the current exception. If the innerException parameter /// is not a null reference, the current exception is raised in a catch block that handles /// the inner exception. /// </param> public [[#variable27f85780]](string message, Exception innerException): base(message, innerException) { LogManager.GetLogger( typeof( [[#variable27f85780]])).Error( [[#variable27f85860]], [[#variable583b84a0]]); } /// <summary> /// Initializes a new instance of the <see cref="LazyInitializationException"/> class /// with serialized data. /// Initializes a new instance of the <see cref="AssertionFailure"/> class. /// </summary> /// <param name="info"> /// The <see cref="SerializationInfo"/> that holds the serialized object /// data about the exception being thrown. /// </param> /// <param name="context"> /// The <see cref="StreamingContext"/> that contains contextual information about the source or destination. /// </param> protected [[#variable27f85780]](SerializationInfo info, StreamingContext context): base(info, context) { } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27f85780]] | LazyInitializationException |
1 | 2 | [[#27f85780]] | AssertionFailure |
2 | 1 | [[#27f85860]] | message |
2 | 2 | [[#27f85860]] | DefaultMessage |
3 | 1 | [[#583b84a0]] | this |
3 | 2 | [[#583b84a0]] | innerException |