Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1using System;
 2using System.Runtime.Serialization;
 3
 4namespace ICSharpCode.SharpZipLib.Tar
 5{
 6  /// <summary>
 7  /// This exception is used to indicate that there is a problem
 8  /// with a TAR archive header.
 9  /// </summary>
 10  [Serializable]
 11  public class InvalidHeaderException : TarException
 12  {
 13
 14    /// <summary>
 15    /// Deserialization constructor
 16    /// </summary>
 17    /// <param name="information"><see cref="SerializationInfo"/> for this constructor</param>
 18    /// <param name="context"><see cref="StreamingContext"/> for this constructor</param>
 19    protected InvalidHeaderException(SerializationInfo information, StreamingContext context)
 020      : base(information, context)
 21
 22    {
 023    }
 24
 25    /// <summary>
 26    /// Initialise a new instance of the InvalidHeaderException class.
 27    /// </summary>
 028    public InvalidHeaderException()
 29    {
 030    }
 31
 32    /// <summary>
 33    /// Initialises a new instance of the InvalidHeaderException class with a specified message.
 34    /// </summary>
 35    /// <param name="message">Message describing the exception cause.</param>
 36    public InvalidHeaderException(string message)
 037      : base(message)
 38    {
 039    }
 40
 41    /// <summary>
 42    /// Initialise a new instance of InvalidHeaderException
 43    /// </summary>
 44    /// <param name="message">Message describing the problem.</param>
 45    /// <param name="exception">The exception that is the cause of the current exception.</param>
 46    public InvalidHeaderException(string message, Exception exception)
 047      : base(message, exception)
 48    {
 049    }
 50  }
 51}