New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
[SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
[SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
public sealed class InvalidDataException : Exception, ISerializable

Inheritance: objectExceptionInvalidDataException

Implements: ISerializable

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.TargetSiteException.MessageException.DataException.InnerExceptionException.HelpLinkException.SourceException.HResultException.StackTrace...

Constructors

Creates an InvalidDataException representing a generic invalid data condition.

C#
public InvalidDataException()

Creates an InvalidDataException with a message and inner exception providing causal context.

C#
public InvalidDataException(string message, Exception innerException)
Parameters:messagestring

The error message that explains the reason for the exception.

innerExceptionException

The 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.

C#
public InvalidDataException(string message)
Parameters:messagestring

The error message that explains the reason for the exception.