CloneSet702


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
50230.953class_member_declarations
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15016
src/NHibernate/Classic/ValidationFailure.cs
25018
src/NHibernate/HibernateException.cs
Clone Instance
1
Line Count
50
Source Line
16
Source File
src/NHibernate/Classic/ValidationFailure.cs

                /// <summary>
                /// Initializes a new instance of the <see cref="ValidationFailure"/> class.
                /// </summary>
                public ValidationFailure() : base("A validation failure occurred")
                {
                }

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

                /// <summary>
                /// Initializes a new instance of the <see cref="ValidationFailure"/> class.
                /// </summary>
                /// <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 ValidationFailure(Exception innerException) : base("A validation failure occurred", innerException)
                {
                }

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

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



Clone Instance
2
Line Count
50
Source Line
18
Source File
src/NHibernate/HibernateException.cs

                /// <summary>
                /// Initializes a new instance of the <see cref="HibernateException"/> class.
                /// </summary>
                public HibernateException() : base("An exception occurred in the persistence layer.")
                {
                }

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

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

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

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



Clone AbstractionParameter Count: 3Parameter Bindings

/// <summary>
/// Initializes a new instance of the <see cref="HibernateException"/> class.
/// Initializes a new instance of the <see cref="ValidationFailure"/> class.
/// </summary>
public [[#variable56b30a80]](): base( [[#variable573e2760]])
{
}

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

/// <summary>
/// Initializes a new instance of the <see cref="HibernateException"/> class.
/// Initializes a new instance of the <see cref="ValidationFailure"/> class.
/// </summary>
/// <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 [[#variable56b30a80]](Exception innerException): base( [[#variable573e3b40]], innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="HibernateException"/> class.
/// Initializes a new instance of the <see cref="ValidationFailure"/> 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 [[#variable56b30a80]](string message, Exception innerException): base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="HibernateException"/> class 
/// Initializes a new instance of the <see cref="ValidationFailure"/> 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 [[#variable56b30a80]](SerializationInfo info, StreamingContext context): base(info, context)
{
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56b30a80]]
HibernateException 
12[[#56b30a80]]
ValidationFailure 
21[[#573e2760]]
"An exception occurred in the persistence layer." 
22[[#573e2760]]
"A validation failure occurred" 
31[[#573e3b40]]
innerException.Message 
32[[#573e3b40]]
"A validation failure occurred"