InvalidDataException
Signals that input ZIP or related data is malformed or violates expected format constraints during processing.
Definition
Namespace:Telerik.Windows.Zip
Assembly:Telerik.Windows.Zip.dll
Syntax:
[SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
[SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
public sealed class InvalidDataException : Exception, ISerializable
Inheritance: objectExceptionInvalidDataException
Implements:
Inherited Members
Constructors
Creates an InvalidDataException representing a generic invalid data condition.
public InvalidDataException()
Creates an InvalidDataException with a message and inner exception providing causal context.
public InvalidDataException(string message, Exception innerException)
The error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.
Creates an InvalidDataException with a specific explanatory error message.
public InvalidDataException(string message)
The error message that explains the reason for the exception.