Skip to content

Commit

Permalink
Remove obsolete constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorPilley committed Nov 20, 2023
1 parent 434d594 commit ee62875
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/PhoneNumbers/ParseException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ namespace PhoneNumbers;
/// <summary>
/// An exception thrown when there is an issue parsing a phone number.
/// </summary>
[Serializable]
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public class ParseException : Exception
{
Expand Down Expand Up @@ -34,14 +33,4 @@ public ParseException(string? message, Exception? innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ParseException"/> class.
/// </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 ParseException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}

0 comments on commit ee62875

Please sign in to comment.