public class BadPasswordException extends PdfException
Modifier and Type | Field and Description |
---|---|
static String |
PdfReaderNotOpenedWithOwnerPassword |
_1IsAnUnknownGraphicsStateDictionary, _1IsNotAnAcceptableValueForTheField2, _1IsNotAValidPlaceableWindowsMetafile, AnnotationShallHaveReferenceToPage, AppendModeRequiresADocumentWithoutErrorsEvenIfRecoveryWasPossible, AuthenticatedAttributeIsMissingTheDigest, AvailableSpaceIsNotEnoughForSignature, BadCertificateAndKey, BadUserPassword, CannotAddCellToCompletedLargeTable, CannotAddKidToTheFlushedElement, CannotAddNonDictionaryExtGStateToResources1, CannotAddNonDictionaryPatternToResources1, CannotAddNonDictionaryPropertiesToResources1, CannotAddNonDictionaryShadingToResources1, CannotAddNonStreamFormToResources1, CannotAddNonStreamImageToResources1, CannotBeEmbeddedDueToLicensingRestrictions, CannotCloseDocument, CannotCloseDocumentWithAlreadyFlushedPdfCatalog, CannotConvertPdfArrayToBooleanArray, CannotConvertPdfArrayToDoubleArray, CannotConvertPdfArrayToFloatArray, CannotConvertPdfArrayToIntArray, CannotConvertPdfArrayToLongArray, CannotConvertPdfArrayToRectanle, CannotCopyFlushedObject, CannotCopyFlushedTag, CannotCopyIndirectObjectFromTheDocumentThatIsBeingWritten, CannotCopyObjectContent, CannotCopyToDocumentOpenedInReadingMode, CannotCreateLayoutImageByWmfImage, CannotCreatePdfImageXObjectByWmfImage, CannotCreatePdfStreamByInputStreamWithoutPdfDocument, CannotDecodePkcs7SigneddataObject, CannotFindImageDataOrEI, CannotFindSigningCertificateWithSerial1, CannotFlushDocumentRootTagBeforeDocumentIsClosed, CannotFlushObject, CannotGetContentBytes, CannotGetPdfStreamBytes, CannotMoveFlushedTag, CannotMovePagesInPartlyFlushedDocument, CannotMoveToFlushedKid, CannotMoveToMarkedContentReference, CannotMoveToParentCurrentElementIsRoot, CannotOpenDocument, CannotOperateWithFlushedPdfStream, CannotParseContentStream, CannotReadAStreamInOrderToAppendNewBytes, CannotReadPdfObject, CannotRecogniseDocumentFontWithEncoding, CannotRelocateRootTag, CannotRelocateTagWhichIsAlreadyFlushed, CannotRelocateTagWhichParentIsAlreadyFlushed, CannotRemoveDocumentRootTag, CannotRemoveMarkedContentReferenceBecauseItsPageWasAlreadyFlushed, CannotRemoveTagBecauseItsParentIsFlushed, CannotRetrieveMediaBoxAttribute, CannotSetDataToPdfstreamWhichWasCreatedByInputStream, CannotSetDataToPdfStreamWhichWasCreatedByInputStream, CannotSetEncryptedPayloadToDocumentOpenedInReadingMode, CannotSetEncryptedPayloadToEncryptedDocument, CannotSplitDocumentThatIsBeingWritten, CannotWriteObjectAfterItWasReleased, CannotWriteToPdfStream, CertificateIsNotProvidedDocumentIsEncryptedWithPublicKeyCertificate, CertificationSignatureCreationFailedDocShallNotContainSigs, CfNotFoundEncryption, CodabarMustHaveAtLeastStartAndStopCharacter, CodabarMustHaveOneAbcdAsStartStopCharacter, ColorSpaceNotFound, ContentStreamMustNotInvokeOperatorsThatSpecifyColorsOrOtherColorRelatedParameters, DecodeParameterType1IsNotSupported, DefaultAppearanceNotFound, DefaultcryptfilterNotFoundEncryption, DictionaryDoesntHave1FontData, DictionaryDoesntHaveSupportedFontData, DictionaryKey1IsNotAName, DocumentAlreadyPreClosed, DocumentClosedItIsImpossibleToExecuteAction, DocumentDoesntContainStructTreeRoot, DocumentForCopyToCannotBeNull, DocumentHasNoPages, DocumentHasNoPdfCatalogObject, DocumentMustBePreClosed, EncryptedPayloadFileSpecDoesntHaveEncryptedPayloadDictionary, EncryptedPayloadFileSpecShallBeIndirect, EncryptedPayloadFileSpecShallHaveEFDictionary, EncryptedPayloadFileSpecShallHaveTypeEqualToFilespec, EncryptedPayloadShallHaveSubtype, EncryptedPayloadShallHaveTypeEqualsToEncryptedPayloadIfPresent, EndOfContentStreamReachedBeforeEndOfImageData, ErrorWhileReadingObjectStream, FailedToGetTsaResponseFrom1, FieldAlreadySigned, FieldFlatteningIsNotSupportedInAppendMode, FieldNamesCannotContainADot, FieldTypeIsNotASignatureFieldType, FilePosition1CrossReferenceEntryInThisXrefSubsection, Filter1IsNotSupported, FilterCcittfaxdecodeIsOnlySupportedForImages, FilterIsNotANameOrArray, FlushedPageCannotBeAddedOrInserted, FontAndSizeMustBeSetBeforeWritingAnyText, FontEmbeddingIssue, FontSizeIsTooSmall, FormXObjectMustHaveBbox, FunctionIsNotCompatibleWitColorSpace, GivenAccessibleElementIsNotConnectedToAnyTag, IllegalCharacterInAscii85decode, IllegalCharacterInAsciihexdecode, IllegalCharacterInCodabarBarcode, IllegalLengthValue, IllegalRValue, IllegalVValue, InAPageLabelThePageNumbersMustBeGreaterOrEqualTo1, InCodabarStartStopCharactersAreOnlyAllowedAtTheExtremes, IncorrectNumberOfComponents, InvalidCodewordSize, InvalidCrossReferenceEntryInThisXrefSubsection, InvalidHttpResponse1, InvalidIndirectReference1, InvalidMediaBoxValue, InvalidOffsetForObject1, InvalidPageStructure1, InvalidPageStructurePagesPagesMustBePdfDictionary, InvalidRangeArray, InvalidTsa1ResponseCode2, InvalidXrefStream, InvalidXrefTable, IoException, IoExceptionWhileCreatingFont, LzwDecoderException, LzwFlavourNotSupported, MacroSegmentIdMustBeGtOrEqZero, MacroSegmentIdMustBeGtZero, MacroSegmentIdMustBeLtMacroSegmentCount, MustBeATaggedDocument, NoCompatibleEncryptionFound, NoCryptoDictionaryDefined, NoKidWithSuchRole, NoMaxLenPresent, NotAPlaceableWindowsMetafile, NotAValidPkcs7ObjectNotASequence, NotAValidPkcs7ObjectNotSignedData, NotAWmfImage, NoValidEncryptionMode, NumberOfBooleansInTheArrayDoesntCorrespondWithTheNumberOfFields, NumberOfEntriesInThisXrefSubsectionNotFound, object, ObjectMustBeIndirectToWorkWithThisWrapper, ObjectNumberOfTheFirstObjectInThisXrefSubsectionNotFound, OnlyBmpCanBeWrappedInWmf, OnlyIdentityCMapsSupportsWithTrueType, OperatorEINotFoundAfterEndOfImageData, Page1CannotBeAddedToDocument2BecauseItBelongsToDocument3, PageAlreadyFlushed, PageAlreadyFlushedUseAddFieldAppearanceToPageMethodBeforePageFlushing, PageIsNotSetForThePdfTagStructure, PdfDecryption, PdfDocumentMustBeOpenedInStampingMode, PdfEncodings, PdfEncryption, PdfFormXobjectHasInvalidBbox, PdfIndirectObjectBelongsToOtherPdfDocument, PdfObjectStreamReachMaxSize, PdfPagesTreeCouldBeGeneratedOnlyOnce, PdfStartxrefIsNotFollowedByANumber, PdfStartxrefNotFound, PdfVersionNotValid, PngFilterUnknown, PrintScalingEnforceEntryInvalid, QuadPointArrayLengthIsNotAMultipleOfEight, RefArrayItemsInStructureElementDictionaryShallBeIndirectObjects, RequestedPageNumberIsOutOfBounds, ResourcesCannotBeNull, ResourcesDoNotContainExtgstateEntryUnableToProcessOperator1, RoleInNamespaceIsNotMappedToAnyStandardRole, RoleIsNotMappedToAnyStandardRole, ShadingTypeNotFound, SignatureWithName1IsNotTheLastItDoesntCoverWholeDocument, StdcfNotFoundEncryption, StructParentIndexNotFoundInTaggedObject, StructureElementDictionaryShallBeAnIndirectObjectInOrderToHaveChildren, StructureElementInStructureDestinationShallBeAnIndirectObject, StructureElementShallContainParentObject, TagCannotBeMovedToTheAnotherDocumentsTagStructure, TagFromTheExistingTagStructureIsFlushedCannotAddCopiedPageTags, TagStructureCopyingFailedItMightBeCorruptedInOneOfTheDocuments, TagStructureFlushingFailedItMightBeCorrupted, TagTreePointerIsInInvalidStateItPointsAtFlushedElementUseMoveToRoot, TagTreePointerIsInInvalidStateItPointsAtRemovedElementUseMoveToRoot, TextCannotBeNull, TextIsTooBig, TextMustBeEven, ThereAreIllegalCharactersForBarcode128In1, ThereIsNoAssociatePdfWriterForMakingIndirects, ThereIsNoFieldInTheDocumentWithSuchName1, ThisInstanceOfPdfSignerAlreadyClosed, ThisPkcs7ObjectHasMultipleSignerinfosOnlyOneIsSupportedAtThisTime, ToFlushThisWrapperUnderlyingObjectMustBeAddedToDocument, TrailerNotFound, TrailerPrevEntryPointsToItsOwnCrossReferenceSection, Tsa1FailedToReturnTimeStampToken2, TwoBarcodeMustBeExternally, UnbalancedBeginEndMarkedContentOperators, UnbalancedLayerOperators, UnbalancedSaveRestoreStateOperators, UnexpectedCharacter1FoundAfterIDInInlineImage, UnexpectedCloseBracket, UnexpectedColorSpace1, UnexpectedEndOfFile, UnexpectedGtGt, UnexpectedShadingType, UnknownEncryptionTypeREq1, UnknownEncryptionTypeVEq1, UnknownHashAlgorithm1, UnknownKeyAlgorithm1, UnknownPdfException, UnsupportedDefaultColorSpaceName1, UnsupportedXObjectType, VerificationAlreadyOutput, WhenAddingObjectReferenceToTheTagTreeItMustBeConnectedToNotFlushedObject, WhitePointIsIncorrectlySpecified, WmfImageException, WrongFormFieldAddAnnotationToTheField, WrongMediaBoxSize1, XrefSubsectionNotFound, YouHaveToDefineABooleanArrayForThisCollectionSortDictionary, YouMustSetAValueBeforeAddingAPrefix, YouNeedASingleBooleanForThisCollectionSortDictionary
Constructor and Description |
---|
BadPasswordException(String message)
Creates a new BadPasswordException.
|
BadPasswordException(String message, Throwable cause)
Creates a new BadPasswordException.
|
getMessage, getMessageParams, setMessageParams
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String PdfReaderNotOpenedWithOwnerPassword
public BadPasswordException(String message, Throwable cause)
message
- the detail message.
cause
- the cause (which is saved for later retrieval by Throwable.getCause()
method).
public BadPasswordException(String message)
message
- the detail message.
Copyright © 1998–2018 iText Group NV. All rights reserved.