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