CloneSet1060


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18230.963class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11741
src/NHibernate/AssertionFailure.cs
21861
src/NHibernate/LazyInitializationException.cs
Clone Instance
1
Line Count
17
Source Line
41
Source File
src/NHibernate/AssertionFailure.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)
                {
                }



Clone Instance
2
Line Count
18
Source Line
61
Source File
src/NHibernate/LazyInitializationException.cs

                /// <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)
                {
                }



Clone AbstractionParameter Count: 3Parameter Bindings

/// <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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#27f85780]]
LazyInitializationException 
12[[#27f85780]]
AssertionFailure 
21[[#27f85860]]
message 
22[[#27f85860]]
DefaultMessage 
31[[#583b84a0]]
this 
32[[#583b84a0]]
innerException