CloneSet165


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15510.982namespace_member_declarations
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1154
src/NHibernate/Exceptions/ADOConnectionException.cs
2164
src/NHibernate/Exceptions/DataException.cs
3105
src/NHibernate/Exceptions/GenericADOException.cs
4154
src/NHibernate/Exceptions/LockAcquisitionException.cs
5154
src/NHibernate/Exceptions/SQLGrammarException.cs
Clone Instance
1
Line Count
15
Source Line
4
Source File
src/NHibernate/Exceptions/ADOConnectionException.cs

namespace NHibernate.Exceptions
{
        /// <summary> 
        /// Implementation of ADOException indicating problems with communicating with the
        /// database (can also include incorrect ADO setup). 
        /// </summary>
        [Serializable]
        public class ADOConnectionException : ADOException
        {
                public ADOConnectionException(SerializationInfo info, StreamingContext context) : base(info, context) {
                                                                                                                      }

                public ADOConnectionException(string message, Exception innerException, string sql) : base(message, innerException, sql) {
                                                                                                                                         }

                public ADOConnectionException(string message, Exception innerException) : base(message, innerException) {
                                                                                                                        }

        }
}


Clone Instance
2
Line Count
16
Source Line
4
Source File
src/NHibernate/Exceptions/DataException.cs

namespace NHibernate.Exceptions
{
        /// <summary> 
        /// Implementation of ADOException indicating that evaluation of the
        /// valid SQL statement against the given data resulted in some
        /// illegal operation, mismatched types or incorrect cardinality. 
        /// </summary>
        [Serializable]
        public class DataException : ADOException
        {
                public DataException(SerializationInfo info, StreamingContext context) : base(info, context) {
                                                                                                             }

                public DataException(string message, Exception innerException, string sql) : base(message, innerException, sql) {
                                                                                                                                }

                public DataException(string message, Exception innerException) : base(message, innerException) {
                                                                                                               }

        }
}


Clone Instance
3
Line Count
10
Source Line
5
Source File
src/NHibernate/Exceptions/GenericADOException.cs

namespace NHibernate.Exceptions
{
        [Serializable]
        public class GenericADOException : ADOException
        {
                public GenericADOException(SerializationInfo info, StreamingContext context) : base(info, context) {
                                                                                                                   }

                public GenericADOException(string message, Exception innerException, string sql) : base(message, innerException, sql) {
                                                                                                                                      }

                public GenericADOException(string message, Exception innerException) : base(message, innerException) {
                                                                                                                     }

        }
}


Clone Instance
4
Line Count
15
Source Line
4
Source File
src/NHibernate/Exceptions/LockAcquisitionException.cs

namespace NHibernate.Exceptions
{
        /// <summary> 
        /// Implementation of ADOException indicating a problem acquiring lock
        /// on the database. 
        /// </summary>
        [Serializable]
        public class LockAcquisitionException : ADOException
        {
                public LockAcquisitionException(SerializationInfo info, StreamingContext context) : base(info, context) {
                                                                                                                        }

                public LockAcquisitionException(string message, Exception innerException, string sql) : base(message, innerException, sql) {
                                                                                                                                           }

                public LockAcquisitionException(string message, Exception innerException) : base(message, innerException) {
                                                                                                                          }

        }
}


Clone Instance
5
Line Count
15
Source Line
4
Source File
src/NHibernate/Exceptions/SQLGrammarException.cs

namespace NHibernate.Exceptions
{
        /// <summary> 
        /// Implementation of ADOException indicating that the SQL sent to the database
        /// server was invalid (syntax error, invalid object references, etc). 
        /// </summary>
        [Serializable]
        public class SQLGrammarException : ADOException
        {
                public SQLGrammarException(SerializationInfo info, StreamingContext context) : base(info, context) {
                                                                                                                   }

                public SQLGrammarException(string message, Exception innerException, string sql) : base(message, innerException, sql) {
                                                                                                                                      }

                public SQLGrammarException(string message, Exception innerException) : base(message, innerException) {
                                                                                                                     }

        }
}


Clone AbstractionParameter Count: 1Parameter Bindings

namespace NHibernate.Exceptions
{
   /// <summary> 
   /// Implementation of ADOException indicating problems with communicating with the
   /// database (can also include incorrect ADO setup). 
   /// Implementation of ADOException indicating that evaluation of the
   /// valid SQL statement against the given data resulted in some
   /// illegal operation, mismatched types or incorrect cardinality. 
   /// Implementation of ADOException indicating a problem acquiring lock
   /// on the database. 
   /// Implementation of ADOException indicating that the SQL sent to the database
   /// server was invalid (syntax error, invalid object references, etc). 
   /// </summary>
   [Serializable]
   public class [[#variable6b96aaa0]]: ADOException
   {
      public [[#variable6b96aaa0]](SerializationInfo info, StreamingContext context): base(info, context)
      {
      }

      public [[#variable6b96aaa0]](string message, Exception innerException, string sql): base(message, innerException, sql)
      {
      }

      public [[#variable6b96aaa0]](string message, Exception innerException): base(message, innerException)
      {
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6b96aaa0]]
ADOConnectionException 
12[[#6b96aaa0]]
DataException 
13[[#6b96aaa0]]
GenericADOException 
14[[#6b96aaa0]]
LockAcquisitionException 
15[[#6b96aaa0]]
SQLGrammarException