32 references to FileFormatException
PresentationFramework (22)
System\Windows\Documents\FixedDocument.cs (3)
892throw new FileFormatException(SR.InvalidDSContentType); 921throw new FileFormatException(SR.InvalidSFContentType); 925throw new FileFormatException(SR.InvalidStoryFragmentsMarkup);
System\Windows\Documents\FixedSchema.cs (14)
55throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedEncoding); 62throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedEncoding); 223throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedRootNamespaceUri); 332throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedMimeType); 591throw new FileFormatException(SR.XpsValidatingLoaderMoreThanOnePrintTicketPart); 602throw new FileFormatException(SR.XpsValidatingLoaderPrintTicketHasIncorrectType); 613throw new FileFormatException(SR.XpsValidatingLoaderMoreThanOneThumbnailPart); 625throw new FileFormatException(SR.XpsValidatingLoaderThumbnailHasIncorrectType); 645throw new FileFormatException(SR.XpsValidatingLoaderRestrictedFontHasIncorrectType); 661throw new FileFormatException(SR.XpsValidatingLoaderMoreThanOneDiscardControlInPackage); 672throw new FileFormatException(SR.XpsValidatingLoaderDiscardControlHasIncorrectType); 684throw new FileFormatException(SR.XpsValidatingLoaderMoreThanOneThumbnailInPackage); 696throw new FileFormatException(SR.XpsValidatingLoaderThumbnailHasIncorrectType); 735throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedMimeType);
System\Windows\Documents\XPSS0ValidatingLoader.cs (5)
91throw new FileFormatException(SR.XpsValidatingLoaderUriNotInSamePackage); 147throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedMimeType); 189throw new FileFormatException(SR.XpsValidatingLoaderDuplicateReference); 217throw new FileFormatException(SR.XpsValidatingLoaderUnlistedResource); 222throw new FileFormatException(SR.XpsValidatingLoaderUnsupportedMimeType);
PresentationUI (1)
MS\Internal\Documents\RightsManagementProvider.cs (1)
1282throw new FileFormatException(
System.IO.Packaging (9)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
571throw new FileFormatException(SR.RelationshipPartIncorrectContentType);
System\IO\Packaging\Package.cs (1)
417throw 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)
300throw new FileFormatException(SR.ZipZeroSizeFileIsNotValidArchive); 335throw new FileFormatException(SR.FileContainsCorruptedData);