< Summary

Class:Towel.CorruptedDataStructureException
Assembly:Towel
File(s):File 1: /home/runner/work/Towel/Towel/Sources/Towel/Exceptions.cs
Covered lines:0
Uncovered lines:3
Coverable lines:3
Total lines:65
Line coverage:0% (0 of 3)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
File 1: .ctor()100%10%
File 1: .ctor(...)100%10%
File 1: .ctor(...)100%10%

File(s)

/home/runner/work/Towel/Towel/Sources/Towel/Exceptions.cs

#LineLine coverage
 1namespace Towel;
 2
 3/// <summary>Represents a bug in the Towel project. Please report it.</summary>
 4public class TowelBugException : Exception
 5{
 6  internal static readonly string reportMessage =
 7    Environment.NewLine +
 8    Environment.NewLine +
 9    "Please submit this issue to the Towel GitHub repository. " +
 10    Environment.NewLine +
 11    "https://github.com/ZacharyPatten/Towel/issues/new/choose";
 12
 13  /// <summary>Represents a bug in the Towel project. Please report it.</summary>
 14  /// <param name="message">The message of the exception.</param>
 15  public TowelBugException(string message) : base(message + reportMessage) { }
 16
 17  /// <summary>Represents a bug in the Towel project. Please report it.</summary>
 18  /// <param name="message">The message of the exception.</param>
 19  /// <param name="innerException">The inner exception.</param>
 20  public TowelBugException(string message, Exception innerException) : base(message + reportMessage, innerException) { }
 21}
 22
 23/// <summary>Thrown when a data structure operation fails due to external corruption.</summary>
 24public class CorruptedDataStructureException : Exception
 25{
 26  /// <summary>Thrown when a data structure operation fails due to external corruption.</summary>
 027  public CorruptedDataStructureException() : base() { }
 28
 29  /// <summary>Thrown when a data structure operation fails due to external corruption.</summary>
 30  /// <param name="message">The message of the exception.</param>
 031  public CorruptedDataStructureException(string message) : base(message) { }
 32
 33  /// <summary>Thrown when a data structure operation fails due to external corruption.</summary>
 34  /// <param name="message">The message of the exception.</param>
 35  /// <param name="innerException">The inner exception.</param>
 036  public CorruptedDataStructureException(string message, Exception innerException) : base(message, innerException) { }
 37}
 38
 39/// <summary>Thrown when the inequality syntax is missused.</summary>
 40public class InequalitySyntaxException : Exception
 41{
 42  /// <summary>Thrown when the inequality syntax is missused.</summary>
 43  public InequalitySyntaxException() : base() { }
 44  /// <summary>Thrown when the inequality syntax is missused.</summary>
 45  /// <param name="message">The message of the exception.</param>
 46  public InequalitySyntaxException(string message) : base(message) { }
 47  /// <summary>Thrown when the inequality syntax is missused.</summary>
 48  /// <param name="message">The message of the exception.</param>
 49  /// <param name="innerException">The inner exception.</param>
 50  public InequalitySyntaxException(string message, Exception innerException) : base(message, innerException) { }
 51}
 52
 53/// <summary>Thrown when an internal documentation method is called.</summary>
 54public class DocumentationMethodException : Exception
 55{
 56  /// <summary>Thrown when an internal documentation method is called.</summary>
 57  public DocumentationMethodException() : base() { }
 58  /// <summary>Thrown when an internal documentation method is called.</summary>
 59  /// <param name="message">The message of the exception.</param>
 60  public DocumentationMethodException(string message) : base(message) { }
 61  /// <summary>Thrown when an internal documentation method is called.</summary>
 62  /// <param name="message">The message of the exception.</param>
 63  /// <param name="innerException">The inner exception.</param>
 64  public DocumentationMethodException(string message, Exception innerException) : base(message, innerException) { }
 65}

Methods/Properties

.ctor()
.ctor(...)
.ctor(...)