public class BadPasswordException extends PdfException
Modifier and Type | Field and Description |
---|---|
static String |
PdfReaderNotOpenedWithOwnerPassword |
_1IsAnUnknownGraphicsStateDictionary, _1IsNotAnAcceptableValueForTheField2, _1IsNotAValidPlaceableWindowsMetafile, AnnotationShallHaveReferenceToPage, AnnotShallHaveReferenceToPage, AppendModeRequiresADocumentWithoutErrorsEvenIfRecoveryWasPossible, AuthenticatedAttributeIsMissingTheDigest, AvailableSpaceIsNotEnoughForSignature, BadCertificateAndKey, BadUserPassword, CannotAddKidToTheFlushedElement, CannotAddNonDictionaryExtGStateToResources1, CannotAddNonDictionaryPatternToResources1, CannotAddNonDictionaryPropertiesToResources1, CannotAddNonDictionaryShadingToResources1, CannotAddNonStreamFormToResources1, CannotAddNonStreamImageToResources1, CannotCloseDocument, CannotCloseDocumentWithAlreadyFlushedPdfCatalog, CannotConvertPdfArrayToRectanle, CannotCopyFlushedObject, CannotCopyFlushedTag, CannotCopyIndirectObjectFromTheDocumentThatIsBeingWritten, CannotCopyObjectContent, CannotCopyToDocumentOpenedInReadingMode, CannotCreateLayoutImageByWmfImage, CannotCreatePdfImageXObjectByWmfImage, CannotCreatePdfStreamByInputStreamWithoutPdfDocument, CannotDecodePkcs7SigneddataObject, CannotFindImageDataOrEI, CannotFindSigningCertificateWithSerial1, CannotFlushDocumentRootTagBeforeDocumentIsClosed, CannotFlushObject, CannotGetContentBytes, CannotGetPdfStreamBytes, CannotMoveToFlushedKid, CannotMoveToMarkedContentReference, CannotMoveToParentCurrentElementIsRoot, CannotOpenDocument, CannotParseContentStream, CannotReadAStreamInOrderToAppendNewBytes, CannotReadPdfObject, CannotRemoveDocumentRootTag, CannotRemoveMarkedContentReferenceBecauseItsPageWasAlreadyFlushed, CannotRemoveTagBecauseItsParentIsFlushed, CannotRetrieveMediaBoxAttribute, CannotSetDataToPdfstreamWhichWasCreatedByInputstream, CannotSetDataToPdfstreamWhichWasCreatedByInputStream, CannotSplitDocumentThatIsBeingWritten, CannotWriteObjectAfterItWasReleased, CannotWritePdfStream, CannotWriteToPdfStream, CantDecodePkcs7SigneddataObject, CantFindSigningCertificateWithSerial1, CertificateIsNotProvidedDocumentIsEncryptedWithPublicKeyCertificate, CfNotFoundEncryption, CodabarCharacterOneIsIllegal, CodabarMustHaveAtLeastAStartAndStopCharacter, CodabarMustHaveAtLeastStartAndStopCharacter, CodabarMustHaveOneAbcdAsStartStopCharacter, CodabarStartStopCharacterAreOnlyExtremes, ColorNotFound, ColorSpaceNotFound, ContentStreamMustNotInvokeOperatorsThatSpecifyColorsOrOtherColorRelatedParameters, DecodeParameterType1IsNotSupported, DefaultcryptfilterNotFoundEncryption, DictionaryDoesntHave1FontData, DictionaryDoesntHaveSupportedFontData, DictionaryKey1IsNotAName, DictionaryNotContainFontData, DocumentAlreadyPreClosed, DocumentClosedImpossibleExecuteAction, DocumentClosedItIsImpossibleToExecuteAction, DocumentDoesntContainStructTreeRoot, DocumentForCopyToCannotBeNull, DocumentHasNoCatalogObject, DocumentHasNoPages, DocumentHasNoPdfCatalogObject, DocumentMustBePreclosed, DocumentMustBePreClosed, DocumentToCopyToCannotBeNull, ElementCannotFitAnyArea, EncryptionCanOnlyBeAddedBeforeOpeningDocument, EndOfContentStreamReachedBeforeEndOfImageData, ErrorReadingObjectStream, ErrorWhileReadingObjectStream, FailedToGetTsaResponseFrom1, FieldAlreadySigned, FieldFlatteningIsNotSupportedInAppendMode, FieldIsAlreadySigned, FieldNamesCannotContainADot, FieldTypeIsNotASignatureFieldType, FilePosition0CrossReferenceEntryInThisXrefSubsection, FilePosition1CrossReferenceEntryInThisXrefSubsection, Filter1IsNotSupported, FilterCcittfaxdecodeIsOnlySupportedForImages, FilterIsNotANameOrArray, FlushedPageCannotBeAddedOrInserted, FontAndSizeMustBeSetBeforeWritingAnyText, FontEmbeddingIssue, FontSizeIsTooSmall, FontSizeTooSmall, FormXObjectMustHaveBbox, FunctionIsNotCompatibleWitColorSpace, GivenAccessibleElementIsNotConnectedToAnyTag, IllegalCharacterInAscii85decode, IllegalCharacterInAsciihexdecode, IllegalCharacterInCodabarBarcode, IllegalLengthValue, IllegalPValue, IllegalRValue, IllegalVValue, InAPageLabelThePageNumbersMustBeGreaterOrEqualTo1, InCodabarStartStopCharactersAreOnlyAllowedAtTheExtremes, IncorrectNumberOfComponents, InlineLevelOrIllustrationElementCannotContainKids, InvalidCodewordSize, InvalidCrossReferenceEntryInThisXrefSubsection, InvalidHttpResponse1, InvalidIndirectReference1, InvalidMediaBoxValue, InvalidOffsetForObject1, InvalidPageStructure1, InvalidPageStructurePagesPagesMustBePdfDictionary, InvalidRangeArray, InvalidTsa1ResponseCode2, InvalidXrefStream, InvalidXrefTable, IoException, IsNotAnAcceptableValueForTheField, IsNotWmfImage, LzwDecoderException, LzwFlavourNotSupported, MacroSegmentIdMustBeGtOrEqZero, MacroSegmentIdMustBeGtZero, MacroSegmentIdMustBeLtMacroSegmentCount, MustBeATaggedDocument, NameAlreadyExistsInTheNameTree, NoCompatibleEncryptionFound, NoCryptoDictionaryDefined, NoKidWithSuchRole, NotAPlaceableWindowsMetafile, NotAValidPkcs7ObjectNotASequence, NotAValidPkcs7ObjectNotSignedData, NotAWmfImage, NoValidEncryptionMode, NumberOfBooleansInTheArrayDoesntCorrespondWithTheNumberOfFields, NumberOfEntriesInThisXrefSubsectionNotFound, object, ObjectMustBeIndirectToWorkWithThisWrapper, ObjectNumberOfTheFirstObjectInThisXrefSubsectionNotFound, OcspStatusIsRevoked, OcspStatusIsUnknown, OnlyBmpCanBeWrappedInWmf, OperatorEINotFoundAfterEndOfImageData, Page1CannotBeAddedToDocument2BecauseItBelongsToDocument3, PageAlreadyFlushed, PageAlreadyFlushedUseAddFieldAppearanceToPageMethodBeforePageFlushing, PageIsNotSetForThePdfTagStructure, PageWasAlreadyFlushed, PageWasAlreadyFlushedUseAddFieldAppearanceToPageMethodBeforePageFlushing, PdfDecryption, PdfDocumentMustBeOpenedInStampingMode, PdfEncodings, PdfEncryption, PdfFormXobjectHasInvalidBbox, PdfInderectObjectBelongToOtherPdfDocument, PdfIndirectObjectBelongsToOtherPdfDocument, PdfObjectStreamReachMaxSize, PdfPageShallHaveContent, PdfPagesTreeCouldBeGeneratedOnlyOnce, PdfStartxrefIsNotFollowedByANumber, PdfStartxrefNotFound, PdfVersionNotValid, PngFilterUnknown, ResourcesCannotBeNull, ResourcesDoNotContainExtgstateEntryUnableToProcessOperator1, RoleIsNotMappedWithAnyStandardRole, ShadingTypeNotFound, SignatureWithName1IsNotTheLastItDoesntCoverWholeDocument, StdcfNotFoundEncryption, StructParentIndexNotFoundInTaggedObject, StructureElementShallContainParentObject, TagCannotBeMovedToTheAnotherDocumentsTagStructure, TagFromTheExistingTagStructureIsFlushedCannotAddCopiedPageTags, TagStructureCopyingFailedItMightBeCorruptedInOneOfTheDocuments, TagStructureFlushingFailedItMightBeCorrupted, TagTreePointerIsInInvalidStateItPointsAtFlushedElementUseMoveToRoot, TagTreePointerIsInInvalidStateItPointsAtRemovedElementUseMoveToRoot, TextCannotBeNull, TextIsTooBig, TextMustBeEven, TheNumberOfBooleansInTheArrayDoesntCorrespondWithTheNumberOfFields, ThereAreIllegalCharactersForBarcode128In1, ThereIsNoAssociatePdfWriterForMakingIndirects, ThereIsNoFieldInTheDocumentWithSuchName1, ThisInstanceOfPdfSignerAlreadyClosed, ThisInstanceOfPdfSignerIsAlreadyClosed, ThisPkcs7ObjectHasMultipleSignerinfosOnlyOneIsSupportedAtThisTime, TrailerNotFound, TrailerPrevEntryPointsToItsOwnCrossReferenceSection, Tsa1FailedToReturnTimeStampToken2, TwoBarcodeMustBeExternally, UnbalancedBeginEndMarkedContentOperators, UnbalancedLayerOperators, UnbalancedSaveRestoreStateOperators, UnexpectedCharacter1FoundAfterIDInInlineImage, UnexpectedCloseBracket, UnexpectedColorSpace1, UnexpectedEndOfFile, UnexpectedGtGt, UnexpectedShadingType, UnknownColorFormatMustBeRGBorRRGGBB, UnknownEncryptionTypeREq1, UnknownEncryptionTypeVEq1, UnknownHashAlgorithm1, UnknownKeyAlgorithm1, UnknownPdfException, UnsupportedDefaultColorSpaceName1, UnsupportedXObjectType, VerificationAlreadyOutput, WhenAddingObjectReferenceToTheTagTreeItMustBeConnectedToNotFlushedObject, WhitePointIsIncorrectlySpecified, WmfImageException, WrongFormFieldAddAnnotationToTheField, WrongMediaBoxSize1, XrefSubsectionNotFound, YouCannotFlushPdfCatalogManually, 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–2016 iText Group NV. All rights reserved.