public class RenderingException extends RuntimeException
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 passed 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 oe zero.
|
static String |
PAGE_SCALING_TOO_BIG
Message in case page scaling is negative oe zero.
|
static String |
PDFRENDER_FAILS_ON_OPENING_PDF
Message in case iText cannot open the passed pdf.
|
static String |
RANGE_CONTAINS_NEGATIVE_OR_ZERO_NUMBERS
Message in case one have passed negative page indices.
|
static String |
RANGE_CONTAINS_NUMBERS_BIGGER_THAN_NUMBER_OF_PAGES
Message in case one have passed page indices bigger 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–2020 iText Group NV. All rights reserved.