Summary

Class:ICSharpCode.SharpZipLib.Tar.TarException
Assembly:ICSharpCode.SharpZipLib
File(s):C:\Users\Neil\Documents\Visual Studio 2015\Projects\icsharpcode\SZL_master\ICSharpCode.SharpZipLib\Tar\TarException.cs
Covered lines:2
Uncovered lines:6
Coverable lines:8
Total lines:48
Line coverage:25%

Metrics

MethodCyclomatic ComplexitySequence CoverageBranch Coverage
.ctor(...)100
.ctor()100
.ctor(...)1100100
.ctor(...)100

File(s)

C:\Users\Neil\Documents\Visual Studio 2015\Projects\icsharpcode\SZL_master\ICSharpCode.SharpZipLib\Tar\TarException.cs

#LineLine coverage
 1using System;
 2using System.Runtime.Serialization;
 3
 4namespace ICSharpCode.SharpZipLib.Tar
 5{
 6  /// <summary>
 7  /// TarException represents exceptions specific to Tar classes and code.
 8  /// </summary>
 9  [Serializable]
 10  public class TarException : SharpZipBaseException
 11  {
 12    /// <summary>
 13    /// Deserialization constructor
 14    /// </summary>
 15    /// <param name="info"><see cref="SerializationInfo"/> for this constructor</param>
 16    /// <param name="context"><see cref="StreamingContext"/> for this constructor</param>
 17    protected TarException(SerializationInfo info, StreamingContext context)
 018      : base(info, context)
 19    {
 020    }
 21
 22    /// <summary>
 23    /// Initialise a new instance of <see cref="TarException" />.
 24    /// </summary>
 025    public TarException()
 26    {
 027    }
 28
 29    /// <summary>
 30    /// Initialise a new instance of <see cref="TarException" /> with its message string.
 31    /// </summary>
 32    /// <param name="message">A <see cref="string"/> that describes the error.</param>
 33    public TarException(string message)
 134      : base(message)
 35    {
 136    }
 37
 38    /// <summary>
 39    /// Initialise a new instance of <see cref="TarException" />.
 40    /// </summary>
 41    /// <param name="message">A <see cref="string"/> that describes the error.</param>
 42    /// <param name="innerException">The <see cref="Exception"/> that caused this exception.</param>
 43    public TarException(string message, Exception innerException)
 044      : base(message, innerException)
 45    {
 046    }
 47  }
 48}