CloneSet87


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
301120.964class_member_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1410
src/NHibernate/Bytecode/HibernateByteCodeException.cs
23026
src/NHibernate/CallbackException.cs
33341
src/NHibernate/Cfg/HibernateConfigException.cs
43416
src/NHibernate/FKUnmatchingColumnsException.cs
5411
src/NHibernate/Hql/Ast/ANTLR/InvalidWithClauseException.cs
6414
src/NHibernate/Hql/Ast/ANTLR/QuerySyntaxException.cs
73023
src/NHibernate/Id/IdentifierGenerationException.cs
8310
src/NHibernate/QueryParameterException.cs
93016
src/NHibernate/TransactionException.cs
103024
src/NHibernate/Type/SerializationException.cs
11312
src/NHibernate/TypeMismatchException.cs
Clone Instance
1
Line Count
4
Source Line
10
Source File
src/NHibernate/Bytecode/HibernateByteCodeException.cs

                public HibernateByteCodeException(string message) : base(message) {
                                                                                  }

                public HibernateByteCodeException(string message, Exception inner) : base(message, inner) {
                                                                                                          }

                protected HibernateByteCodeException(SerializationInfo info, StreamingContext context) : base(info, context) {
                                                                                                                             }



Clone Instance
2
Line Count
30
Source Line
26
Source File
src/NHibernate/CallbackException.cs

                /// <summary>
                /// Initializes a new instance of the <see cref="CallbackException"/> class.
                /// </summary>
                /// <param name="message">The message that describes the error. </param>
                public CallbackException(string message) : base(message)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="CallbackException"/> 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 CallbackException(string message, Exception innerException) : base(message, innerException)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="CallbackException"/> 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 CallbackException(SerializationInfo info, StreamingContext context) : base(info, context)
                {
                }



Clone Instance
3
Line Count
33
Source Line
41
Source File
src/NHibernate/Cfg/HibernateConfigException.cs

                /// <summary>
                /// Initializes a new instance of the <see cref="HibernateConfigException"/> class.
                /// </summary>
                /// <param name="message">The message that describes the error. </param>
                public HibernateConfigException(string message)
                        : base(message)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="HibernateConfigException"/> 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 HibernateConfigException(string message, Exception innerException)
                        : base(message, innerException)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="HibernateConfigException"/> 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 HibernateConfigException(SerializationInfo info, StreamingContext context)
                        : base(info, context)
                {
                }



Clone Instance
4
Line Count
34
Source Line
16
Source File
src/NHibernate/FKUnmatchingColumnsException.cs

                                /// <summary>
                /// Initializes a new instance of the <see cref="MappingException"/> class.
                /// </summary>
                /// <param name="message">The message that describes the error. </param>
                public FKUnmatchingColumnsException(string message)
                        : base(message)
                {
                }


                /// <summary>
                /// Initializes a new instance of the <see cref="MappingException"/> 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 FKUnmatchingColumnsException(string message, Exception innerException)
                        : base(message, innerException)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="PropertyNotFoundException"/> 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 FKUnmatchingColumnsException(SerializationInfo info, StreamingContext context)
                        : base(info, context)
                {
                }



Clone Instance
5
Line Count
4
Source Line
11
Source File
src/NHibernate/Hql/Ast/ANTLR/InvalidWithClauseException.cs

                public InvalidWithClauseException(string message) : base(message) {
                                                                                  }

                public InvalidWithClauseException(string message, Exception inner) : base(message, inner) {
                                                                                                          }

                protected InvalidWithClauseException(SerializationInfo info, StreamingContext context) : base(info, context) {
                                                                                                                             }



Clone Instance
6
Line Count
4
Source Line
14
Source File
src/NHibernate/Hql/Ast/ANTLR/QuerySyntaxException.cs

                public QuerySyntaxException(string message) : base(message) {
                                                                            }

                public QuerySyntaxException(string message, Exception inner) : base(message, inner) {
                                                                                                    }

                protected QuerySyntaxException(SerializationInfo info, StreamingContext context) : base(info, context) {
                                                                                                                       }



Clone Instance
7
Line Count
30
Source Line
23
Source File
src/NHibernate/Id/IdentifierGenerationException.cs

                /// <summary>
                /// Initializes a new instance of the <see cref="IdentifierGenerationException"/> class.
                /// </summary>
                /// <param name="message">The message that describes the error.</param>
                public IdentifierGenerationException(string message) : base(message)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="IdentifierGenerationException"/> class.
                /// </summary>
                /// <param name="message">The message that describes the error.</param>
                /// <param name="e">
                /// 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 IdentifierGenerationException(string message, Exception e) : base(message, e)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="IdentifierGenerationException"/> 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 IdentifierGenerationException(SerializationInfo info, StreamingContext context) : base(info, context)
                {
                }



Clone Instance
8
Line Count
3
Source Line
10
Source File
src/NHibernate/QueryParameterException.cs

                // TODO : without default constructor can't be serialized
                public QueryParameterException(string message) : base(message) {
                                                                               }

                public QueryParameterException(string message, Exception inner) : base(message, inner) {
                                                                                                       }

                protected QueryParameterException(SerializationInfo info, StreamingContext context): base(info, context) {
                                                                                                                         }



Clone Instance
9
Line Count
30
Source Line
16
Source File
src/NHibernate/TransactionException.cs

                /// <summary>
                /// Initializes a new instance of the <see cref="TransactionException"/> class.
                /// </summary>
                /// <param name="message">The message that describes the error. </param>
                public TransactionException(string message) : base(message)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="TransactionException"/> 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 TransactionException(string message, Exception innerException) : base(message, innerException)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="TransactionException"/> 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 TransactionException(SerializationInfo info, StreamingContext context) : base(info, context)
                {
                }



Clone Instance
10
Line Count
30
Source Line
24
Source File
src/NHibernate/Type/SerializationException.cs

                /// <summary>
                /// Initializes a new instance of the <see cref="SerializationException"/> class.
                /// </summary>
                /// <param name="message">The message that describes the error.</param>
                public SerializationException(string message) : base(message)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="SerializationException"/> class.
                /// </summary>
                /// <param name="message">The message that describes the error.</param>
                /// <param name="e">
                /// 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 SerializationException(string message, Exception e) : base(message, e)
                {
                }

                /// <summary>
                /// Initializes a new instance of the <see cref="SerializationException"/> 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 SerializationException(SerializationInfo info, StreamingContext context) : base(info, context)
                {
                }



Clone Instance
11
Line Count
3
Source Line
12
Source File
src/NHibernate/TypeMismatchException.cs

                public TypeMismatchException(string message) : base(message) {
                                                                             }

                public TypeMismatchException(string message, Exception inner) : base(message, inner) {
                                                                                                     }

                protected TypeMismatchException(SerializationInfo info, StreamingContext context): base(info, context) {
                                                                                                                       }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Initializes a new instance of the <see cref="CallbackException"/> class.
/// Initializes a new instance of the <see cref="MappingException"/> class.
/// Initializes a new instance of the <see cref="TransactionException"/> class.
/// Initializes a new instance of the <see cref="HibernateConfigException"/> class.
/// Initializes a new instance of the <see cref="IdentifierGenerationException"/> class.
/// Initializes a new instance of the <see cref="SerializationException"/> class.
/// </summary>
/// <param name="message">The message that describes the error. </param>
// TODO : without default constructor can't be serialized
/// <param name="message">The message that describes the error.</param>
public [[#variable50662280]](string message): base(message)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="CallbackException"/> class.
/// Initializes a new instance of the <see cref="MappingException"/> class.
/// Initializes a new instance of the <see cref="TransactionException"/> class.
/// Initializes a new instance of the <see cref="HibernateConfigException"/> class.
/// Initializes a new instance of the <see cref="IdentifierGenerationException"/> class.
/// Initializes a new instance of the <see cref="SerializationException"/> class.
/// </summary>
/// <param name="message">The message that describes the error. </param>
/// <param name="innerException">
/// <param name="message">The message that describes the error.</param>
/// <param name="e">
/// 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 [[#variable50662280]](string message, Exception [[#variable50662160]]): base(message, [[#variable50662160]])
{
}

/// <summary>
/// Initializes a new instance of the <see cref="CallbackException"/> class
/// Initializes a new instance of the <see cref="PropertyNotFoundException"/> class
/// Initializes a new instance of the <see cref="TransactionException"/> class
/// Initializes a new instance of the <see cref="HibernateConfigException"/> class
/// Initializes a new instance of the <see cref="IdentifierGenerationException"/> class
/// Initializes a new instance of the <see cref="SerializationException"/> 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 [[#variable50662280]](SerializationInfo info, StreamingContext context): base(info, context)
{
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#50662280]]
CallbackException 
12[[#50662280]]
FKUnmatchingColumnsException 
13[[#50662280]]
QueryParameterException 
14[[#50662280]]
TransactionException 
15[[#50662280]]
TypeMismatchException 
16[[#50662280]]
HibernateByteCodeException 
17[[#50662280]]
HibernateConfigException 
18[[#50662280]]
InvalidWithClauseException 
19[[#50662280]]
QuerySyntaxException 
110[[#50662280]]
IdentifierGenerationException 
111[[#50662280]]
SerializationException 
21[[#50662160]]
innerException 
22[[#50662160]]
innerException 
23[[#50662160]]
inner 
24[[#50662160]]
innerException 
25[[#50662160]]
inner 
26[[#50662160]]
inner 
27[[#50662160]]
innerException 
28[[#50662160]]
inner 
29[[#50662160]]
inner 
210[[#50662160]]
e 
211[[#50662160]]
e