diff --git a/CSharp/Libraries/UniversalEditor.Core/InvalidDataFormatException.cs b/CSharp/Libraries/UniversalEditor.Core/InvalidDataFormatException.cs index 6a2b0f10..d8d62c8d 100644 --- a/CSharp/Libraries/UniversalEditor.Core/InvalidDataFormatException.cs +++ b/CSharp/Libraries/UniversalEditor.Core/InvalidDataFormatException.cs @@ -5,10 +5,27 @@ using System.Text; namespace UniversalEditor { + /// + /// The exception that is thrown when a cannot process a file because the file is + /// corrupted or unreadable or the file format is not supported by the given . + /// public class InvalidDataFormatException : DataFormatException { + /// + /// Creates a new instance of a with the default message. + /// public InvalidDataFormatException() : base("The data format is invalid") { } - public InvalidDataFormatException(string message) : base(message) { } + /// + /// Creates a new instance of a with the specified message. + /// + /// The message to display in the exception window. + public InvalidDataFormatException(string message) : base(message) { } + /// + /// Creates a new instance of a with the specified message and + /// inner exception. + /// + /// The message to display in the exception window. + /// The that is the cause of this . public InvalidDataFormatException(string message, Exception innerException) : base(message, innerException) { } public InvalidDataFormatException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } }