Class RenderingCLIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.itextpdf.commons.exceptions.ITextException
com.itextpdf.pdfrender.exceptions.RenderingException
com.itextpdf.pdfrender.cli.exceptions.RenderingCLIException
- All Implemented Interfaces:
-
Serializable
Runtime exception that gets thrown if something goes wrong in the rendition of PDF to images through CLI API.
- See Also:
-
Field Summary
Fields inherited from class com.itextpdf.pdfrender.exceptions.RenderingException
CANNOT_WRITE_IMAGE_TO_SPECIFIED_PATH, EMPTY_RANGE, PAGE_COULD_NOT_BE_RENDERED, PAGE_SCALING_NEGATIVE_ZERO, PAGE_SCALING_TOO_BIG, PDFRENDER_FAILS_ON_OPENING_PDF, RANGE_CONTAINS_NEGATIVE_OR_ZERO_NUMBERS, RANGE_CONTAINS_NUMBERS_BIGGER_THAN_NUMBER_OF_PAGES, XFA_IS_NOT_SUPPORTED
-
Constructor Summary
ConstructorDescriptionRenderingCLIException
(String message) Creates a newRenderingCLIException
instance.RenderingCLIException
(String message, Throwable cause) Creates a newRenderingCLIException
instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RenderingCLIException
Creates a newRenderingCLIException
instance.- Parameters:
-
message
- the detail message
-
RenderingCLIException
Creates a newRenderingCLIException
instance.- Parameters:
-
message
- the detail message. -
cause
- the cause (which is saved for later retrieval byThrowable.getCause()
method).
-