| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 15 | 5 | 1 | 0.982 | namespace_member_declarations |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 15 | 4 | src/NHibernate/Exceptions/ADOConnectionException.cs |
| 2 | 16 | 4 | src/NHibernate/Exceptions/DataException.cs |
| 3 | 10 | 5 | src/NHibernate/Exceptions/GenericADOException.cs |
| 4 | 15 | 4 | src/NHibernate/Exceptions/LockAcquisitionException.cs |
| 5 | 15 | 4 | src/NHibernate/Exceptions/SQLGrammarException.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) {
}
}
}
|
| ||||
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) {
}
}
}
|
| ||||
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) {
}
}
}
|
| ||||
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) {
}
}
}
|
| ||||
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) {
}
}
}
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6b96aaa0]] | ADOConnectionException |
| 1 | 2 | [[#6b96aaa0]] | DataException |
| 1 | 3 | [[#6b96aaa0]] | GenericADOException |
| 1 | 4 | [[#6b96aaa0]] | LockAcquisitionException |
| 1 | 5 | [[#6b96aaa0]] | SQLGrammarException |