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
@Deprecated public static final String AnnotShallHaveReferenceToPage
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 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 CannotCloseDocument
public static final String CannotCloseDocumentWithAlreadyFlushedPdfCatalog
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 CannotGetContentBytes
public static final String CannotGetPdfStreamBytes
public static final String CannotRetrieveMediaBoxAttribute
public static final String CannotFindImageDataOrEI
public static final String CannotFlushDocumentRootTagBeforeDocumentIsClosed
public static final String CannotFlushObject
public static final String CannotMoveToFlushedKid
public static final String CannotMoveToMarkedContentReference
public static final String CannotMoveToParentCurrentElementIsRoot
public static final String CannotOpenDocument
public static final String CannotParseContentStream
public static final String CannotReadAStreamInOrderToAppendNewBytes
public static final String CannotReadPdfObject
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 CannotSplitDocumentThatIsBeingWritten
@Deprecated public static final String CannotWritePdfStream
public static final String CannotWriteToPdfStream
public static final String CannotWriteObjectAfterItWasReleased
@Deprecated public static final String CantDecodePkcs7SigneddataObject
public static final String CannotDecodePkcs7SigneddataObject
@Deprecated public static final String CantFindSigningCertificateWithSerial1
public static final String CannotFindSigningCertificateWithSerial1
public static final String CertificateIsNotProvidedDocumentIsEncryptedWithPublicKeyCertificate
public static final String CfNotFoundEncryption
@Deprecated public static final String CodabarCharacterOneIsIllegal
@Deprecated public static final String CodabarMustHaveAtLeastAStartAndStopCharacter
public static final String CodabarMustHaveAtLeastStartAndStopCharacter
public static final String CodabarMustHaveOneAbcdAsStartStopCharacter
@Deprecated public static final String CodabarStartStopCharacterAreOnlyExtremes
public static final String ColorNotFound
public static final String ColorSpaceNotFound
public static final String ContentStreamMustNotInvokeOperatorsThatSpecifyColorsOrOtherColorRelatedParameters
public static final String DecodeParameterType1IsNotSupported
public static final String DefaultcryptfilterNotFoundEncryption
public static final String DictionaryKey1IsNotAName
@Deprecated public static final String DictionaryNotContainFontData
public static final String DictionaryDoesntHave1FontData
public static final String DictionaryDoesntHaveSupportedFontData
public static final String DocumentAlreadyPreClosed
@Deprecated public static final String DocumentClosedImpossibleExecuteAction
public static final String DocumentClosedItIsImpossibleToExecuteAction
public static final String DocumentDoesntContainStructTreeRoot
public static final String DocumentHasNoPages
@Deprecated public static final String DocumentHasNoCatalogObject
public static final String DocumentHasNoPdfCatalogObject
@Deprecated public static final String DocumentMustBePreclosed
public static final String DocumentMustBePreClosed
@Deprecated public static final String DocumentToCopyToCannotBeNull
public static final String DocumentForCopyToCannotBeNull
public static final String ElementCannotFitAnyArea
public static final String EncryptionCanOnlyBeAddedBeforeOpeningDocument
public static final String EndOfContentStreamReachedBeforeEndOfImageData
@Deprecated public static final String ErrorReadingObjectStream
public static final String ErrorWhileReadingObjectStream
public static final String FailedToGetTsaResponseFrom1
public static final String FieldFlatteningIsNotSupportedInAppendMode
@Deprecated public static final String FieldIsAlreadySigned
public static final String FieldAlreadySigned
public static final String FieldNamesCannotContainADot
public static final String FieldTypeIsNotASignatureFieldType
public static final String Filter1IsNotSupported
@Deprecated public static final String FilePosition0CrossReferenceEntryInThisXrefSubsection
public static final String FilePosition1CrossReferenceEntryInThisXrefSubsection
public static final String FilterCcittfaxdecodeIsOnlySupportedForImages
public static final String FilterIsNotANameOrArray
public static final String FlushedPageCannotBeAddedOrInserted
public static final String FontAndSizeMustBeSetBeforeWritingAnyText
public static final String FontEmbeddingIssue
@Deprecated public static final String FontSizeTooSmall
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 IllegalPValue
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 InlineLevelOrIllustrationElementCannotContainKids
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
@Deprecated public static final String IsNotAnAcceptableValueForTheField
@Deprecated public static final String IsNotWmfImage
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 NameAlreadyExistsInTheNameTree
public static final String NoCompatibleEncryptionFound
public static final String NoCryptoDictionaryDefined
public static final String NoKidWithSuchRole
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 OcspStatusIsRevoked
public static final String OcspStatusIsUnknown
public static final String OnlyBmpCanBeWrappedInWmf
public static final String OperatorEINotFoundAfterEndOfImageData
public static final String Page1CannotBeAddedToDocument2BecauseItBelongsToDocument3
public static final String PageIsNotSetForThePdfTagStructure
@Deprecated public static final String PageWasAlreadyFlushed
public static final String PageAlreadyFlushed
@Deprecated public static final String PageWasAlreadyFlushedUseAddFieldAppearanceToPageMethodBeforePageFlushing
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 PdfPageShallHaveContent
public static final String PdfPagesTreeCouldBeGeneratedOnlyOnce
public static final String PdfStartxrefIsNotFollowedByANumber
public static final String PdfStartxrefNotFound
@Deprecated public static final String PdfInderectObjectBelongToOtherPdfDocument
There is a typo in the name of the constant. Use PdfIndirectObjectBelongsToOtherPdfDocument
instead.
public static final String PdfIndirectObjectBelongsToOtherPdfDocument
public static final String PdfVersionNotValid
public static final String PngFilterUnknown
public static final String ResourcesCannotBeNull
public static final String ResourcesDoNotContainExtgstateEntryUnableToProcessOperator1
public static final String RoleIsNotMappedWithAnyStandardRole
public static final String ShadingTypeNotFound
public static final String SignatureWithName1IsNotTheLastItDoesntCoverWholeDocument
public static final String StdcfNotFoundEncryption
public static final String StructParentIndexNotFoundInTaggedObject
public static final String StructureElementShallContainParentObject
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
@Deprecated public static final String TheNumberOfBooleansInTheArrayDoesntCorrespondWithTheNumberOfFields
public static final String ThereAreIllegalCharactersForBarcode128In1
public static final String ThereIsNoAssociatePdfWriterForMakingIndirects
public static final String ThereIsNoFieldInTheDocumentWithSuchName1
public static final String ThisPkcs7ObjectHasMultipleSignerinfosOnlyOneIsSupportedAtThisTime
@Deprecated public static final String ThisInstanceOfPdfSignerIsAlreadyClosed
public static final String ThisInstanceOfPdfSignerAlreadyClosed
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
public static final String UnknownColorFormatMustBeRGBorRRGGBB
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
public static final String WrongMediaBoxSize1
public static final String XrefSubsectionNotFound
@Deprecated public static final String YouCannotFlushPdfCatalogManually
public static final String YouHaveToDefineABooleanArrayForThisCollectionSortDictionary
public static final String YouMustSetAValueBeforeAddingAPrefix
public static final String YouNeedASingleBooleanForThisCollectionSortDictionary
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–2016 iText Group NV. All rights reserved.