From f0053cecdbbedd53f579888f1816d54b8a9645e6 Mon Sep 17 00:00:00 2001 From: Aptivi Date: Sat, 30 Mar 2024 21:48:19 +0300 Subject: [PATCH] ref - brk|doc - Internalized exception constructors --- Type: ref Breaking: True Doc Required: True Part: 1/1 --- VisualCard/Exceptions/VCardParseException.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VisualCard/Exceptions/VCardParseException.cs b/VisualCard/Exceptions/VCardParseException.cs index 07d2d52..4b6d1f8 100644 --- a/VisualCard/Exceptions/VCardParseException.cs +++ b/VisualCard/Exceptions/VCardParseException.cs @@ -27,7 +27,7 @@ namespace VisualCard.Exceptions public class VCardParseException : Exception { /// - public VCardParseException() + internal VCardParseException() : base("General contact parsing error.") { } @@ -39,7 +39,7 @@ public VCardParseException() /// Line in which it caused the error /// Line number in which it caused the error /// Inner exception (if any) - 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" +