| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 30 | 11 | 2 | 0.964 | class_member_declarations[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 10 | src/NHibernate/Bytecode/HibernateByteCodeException.cs |
| 2 | 30 | 26 | src/NHibernate/CallbackException.cs |
| 3 | 33 | 41 | src/NHibernate/Cfg/HibernateConfigException.cs |
| 4 | 34 | 16 | src/NHibernate/FKUnmatchingColumnsException.cs |
| 5 | 4 | 11 | src/NHibernate/Hql/Ast/ANTLR/InvalidWithClauseException.cs |
| 6 | 4 | 14 | src/NHibernate/Hql/Ast/ANTLR/QuerySyntaxException.cs |
| 7 | 30 | 23 | src/NHibernate/Id/IdentifierGenerationException.cs |
| 8 | 3 | 10 | src/NHibernate/QueryParameterException.cs |
| 9 | 30 | 16 | src/NHibernate/TransactionException.cs |
| 10 | 30 | 24 | src/NHibernate/Type/SerializationException.cs |
| 11 | 3 | 12 | src/NHibernate/TypeMismatchException.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) {
}
|
| ||||
/// <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)
{
}
|
| ||||
/// <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)
{
}
|
| ||||
/// <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)
{
}
|
| ||||
public InvalidWithClauseException(string message) : base(message) {
}
public InvalidWithClauseException(string message, Exception inner) : base(message, inner) {
}
protected InvalidWithClauseException(SerializationInfo info, StreamingContext context) : base(info, context) {
}
|
| ||||
public QuerySyntaxException(string message) : base(message) {
}
public QuerySyntaxException(string message, Exception inner) : base(message, inner) {
}
protected QuerySyntaxException(SerializationInfo info, StreamingContext context) : base(info, context) {
}
|
| ||||
/// <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)
{
}
|
| ||||
// 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) {
}
|
| ||||
/// <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)
{
}
|
| ||||
/// <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)
{
}
|
| ||||
public TypeMismatchException(string message) : base(message) {
}
public TypeMismatchException(string message, Exception inner) : base(message, inner) {
}
protected TypeMismatchException(SerializationInfo info, StreamingContext context): base(info, context) {
}
|
| |||
/// <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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#50662280]] | CallbackException |
| 1 | 2 | [[#50662280]] | FKUnmatchingColumnsException |
| 1 | 3 | [[#50662280]] | QueryParameterException |
| 1 | 4 | [[#50662280]] | TransactionException |
| 1 | 5 | [[#50662280]] | TypeMismatchException |
| 1 | 6 | [[#50662280]] | HibernateByteCodeException |
| 1 | 7 | [[#50662280]] | HibernateConfigException |
| 1 | 8 | [[#50662280]] | InvalidWithClauseException |
| 1 | 9 | [[#50662280]] | QuerySyntaxException |
| 1 | 10 | [[#50662280]] | IdentifierGenerationException |
| 1 | 11 | [[#50662280]] | SerializationException |
| 2 | 1 | [[#50662160]] | innerException |
| 2 | 2 | [[#50662160]] | innerException |
| 2 | 3 | [[#50662160]] | inner |
| 2 | 4 | [[#50662160]] | innerException |
| 2 | 5 | [[#50662160]] | inner |
| 2 | 6 | [[#50662160]] | inner |
| 2 | 7 | [[#50662160]] | innerException |
| 2 | 8 | [[#50662160]] | inner |
| 2 | 9 | [[#50662160]] | inner |
| 2 | 10 | [[#50662160]] | e |
| 2 | 11 | [[#50662160]] | e |