java.lang.Exceptioncom.aspose.words.FileCorruptedException
public class FileCorruptedException
Example:
try {
// If we get an "Unreadable content" error message when trying to open a document using Microsoft Word,
// chances are that we will get an exception thrown when trying to load that document using Aspose.Words.
Document doc = new Document(getMyDir() + "Corrupted document.docx");
} catch (FileCorruptedException e) {
System.out.println(e.getMessage());
}
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.