public class RenderingException
extends com.itextpdf.commons.exceptions.ITextException
Modifier and Type | Field and Description |
---|---|
static String |
CANNOT_WRITE_IMAGE_TO_SPECIFIED_PATH
Message in case pdfRender cannot render a page.
|
static String |
EMPTY_RANGE
Message in case the specified page range is empty.
|
static String |
PAGE_COULD_NOT_BE_RENDERED
Message in case pdfRender cannot render a page.
|
static String |
PAGE_SCALING_NEGATIVE_ZERO
Message in case page scaling is negative or zero.
|
static String |
PAGE_SCALING_TOO_BIG
Message in case page scaling is too large.
|
static String |
PDFRENDER_FAILS_ON_OPENING_PDF
Message in case iText cannot open the specified pdf.
|
static String |
RANGE_CONTAINS_NEGATIVE_OR_ZERO_NUMBERS
Message in case user has specified negative page indices.
|
static String |
RANGE_CONTAINS_NUMBERS_BIGGER_THAN_NUMBER_OF_PAGES
Message in case user has specified page indices larger than the number of document's pages.
|
static String |
XFA_IS_NOT_SUPPORTED
Message in case one tries to render a PDF with an XFA form to images.
|
Constructor and Description |
---|
RenderingException(String message)
Creates a new RenderingException instance.
|
RenderingException(String message, Throwable cause)
Creates a new RenderingException instance.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String CANNOT_WRITE_IMAGE_TO_SPECIFIED_PATH
public static final String EMPTY_RANGE
public static final String PAGE_COULD_NOT_BE_RENDERED
public static final String PAGE_SCALING_NEGATIVE_ZERO
public static final String PAGE_SCALING_TOO_BIG
public static final String PDFRENDER_FAILS_ON_OPENING_PDF
public static final String RANGE_CONTAINS_NEGATIVE_OR_ZERO_NUMBERS
public static final String RANGE_CONTAINS_NUMBERS_BIGGER_THAN_NUMBER_OF_PAGES
public static final String XFA_IS_NOT_SUPPORTED
public RenderingException(String message)
RenderingException
instance.
message
- the detail message
public RenderingException(String message, Throwable cause)
RenderingException
instance.
message
- the detail message.
cause
- the cause (which is saved for later retrieval by Throwable.getCause()
method).
Copyright © 1998–2022 iText Group NV. All rights reserved.