Class FileCorruptedException

FileCorruptedException class

The exception that is thrown when a file is corrupted and cannot be read.

public class FileCorruptedException : AsposeException

Constructors

NameDescription
FileCorruptedException()Initializes a new instance of the FileCorruptedException class.
FileCorruptedException(string)Initializes a new instance of the FileCorruptedException class with the specified error message.
FileCorruptedException(string, Exception)Initializes a new instance of the FileCorruptedException class with the specified error message and a reference to the exception that caused it.

Properties

NameDescription
ErrorDetails { get; }Gets additional information about the error, if the operation provides any.
override Message { get; }Gets the message that describes the error.

Methods

NameDescription
override ToString()Returns the type, the message and the stack trace of the exception.

See Also