Skip to content

Commit

Permalink
ref - brk|doc - Internalized exception constructors
Browse files Browse the repository at this point in the history
---

Type: ref
Breaking: True
Doc Required: True
Part: 1/1
  • Loading branch information
AptiviCEO committed Mar 30, 2024
1 parent 5e4154f commit f0053ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VisualCard/Exceptions/VCardParseException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace VisualCard.Exceptions
public class VCardParseException : Exception
{
/// <inheritdoc/>
public VCardParseException()
internal VCardParseException()
: base("General contact parsing error.")
{
}
Expand All @@ -39,7 +39,7 @@ public VCardParseException()
/// <param name="line">Line in which it caused the error</param>
/// <param name="linenumber">Line number in which it caused the error</param>
/// <param name="innerException">Inner exception (if any)</param>
public VCardParseException(string message, string line, int linenumber, Exception innerException)
internal VCardParseException(string message, string line, int linenumber, Exception innerException)
: base($"An error occurred while parsing the VCard contact\n" +
$"Error: {message}\n" +
$"Line: {line}\n" +
Expand Down

0 comments on commit f0053ce

Please sign in to comment.