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" +