32 references to FileFormatException
PresentationFramework (22)
System\Windows\Documents\FixedDocument.cs (3)
880throw new FileFormatException(SR.InvalidDSContentType); 909throw new FileFormatException(SR.InvalidSFContentType); 913throw new FileFormatException(SR.InvalidStoryFragmentsMarkup);
System\Windows\Documents\FixedSchema.cs (14)
45throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedEncoding); 52throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedEncoding); 214throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedRootNamespaceUri); 324throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedMimeType); 550throw new FileFormatException(SR.XpsValidatingLoaderMoreThanOnePrintTicketPart); 561throw new FileFormatException(SR.XpsValidatingLoaderPrintTicketHasIncorrectType); 572throw new FileFormatException(SR.XpsValidatingLoaderMoreThanOneThumbnailPart); 584throw new FileFormatException(SR.XpsValidatingLoaderThumbnailHasIncorrectType); 604throw new FileFormatException(SR.XpsValidatingLoaderRestrictedFontHasIncorrectType); 620throw new FileFormatException(SR.XpsValidatingLoaderMoreThanOneDiscardControlInPackage); 631throw new FileFormatException(SR.XpsValidatingLoaderDiscardControlHasIncorrectType); 643throw new FileFormatException(SR.XpsValidatingLoaderMoreThanOneThumbnailInPackage); 655throw new FileFormatException(SR.XpsValidatingLoaderThumbnailHasIncorrectType); 694throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedMimeType);
System\Windows\Documents\XPSS0ValidatingLoader.cs (5)
81throw new FileFormatException(SR.XpsValidatingLoaderUriNotInSamePackage); 137throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedMimeType); 179throw new FileFormatException(SR.XpsValidatingLoaderDuplicateReference); 207throw new FileFormatException(SR.XpsValidatingLoaderUnlistedResource); 212throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedMimeType);
PresentationUI (1)
MS\Internal\Documents\RightsManagementProvider.cs (1)
1278throw new FileFormatException(
System.IO.Packaging (9)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
565throw new FileFormatException(SR.RelationshipPartIncorrectContentType);
System\IO\Packaging\Package.cs (1)
428throw new FileFormatException(SR.BadPackageFormat);
System\IO\Packaging\PackagingUtilities.cs (1)
53throw new FileFormatException(SR.EncodingNotSupported);
System\IO\Packaging\PartBasedPackageProperties.cs (4)
441throw new FileFormatException(SR.NoExternalTargetForMetadataRelationship); 449throw new FileFormatException(SR.DanglingMetadataRelationship); 454throw new FileFormatException(SR.WrongContentTypeForPropertyPart); 469throw new FileFormatException(SR.MoreThanOneMetadataRelationships);
System\IO\Packaging\ZipPackage.cs (2)
370throw new FileFormatException(SR.ZipZeroSizeFileIsNotValidArchive); 406throw new FileFormatException(SR.FileContainsCorruptedData);