Class RenderingCLIExceptionConstant
java.lang.Object
com.itextpdf.pdfrender.cli.exceptions.RenderingCLIExceptionConstant
Class that bundles all the error message templates as constants.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Message in case page scaling is too large.static final String
Message in case an error occurred while opening the input pdf.static final String
Message in case rendering failed.static final String
Message in case the output directory is specified incorrectly.static final String
Message in case the specified password is incorrect.static final String
Message in case the path to the license file is incorrect.static final String
Message in case both the output directory and the output file are specified. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getCorrespondingCLIException
(String pdfRenderException) Gets correspondingRenderingCLIException
message constant forRenderingException
message.
-
Field Details
-
CLI_EXCEPTION_PAGE_SCALING_TOO_BIG
Message in case page scaling is too large.- See Also:
-
ERROR_OPENING_THE_INPUT_PDF
Message in case an error occurred while opening the input pdf.- See Also:
-
FAILED_TO_RENDER_PDF
Message in case rendering failed.- See Also:
-
INCORRECT_OUTPUT_DIRECTORY
Message in case the output directory is specified incorrectly.- See Also:
-
INCORRECT_PASSWORD
Message in case the specified password is incorrect.- See Also:
-
INCORRECT_PATH_TO_LICENSE
Message in case the path to the license file is incorrect.- See Also:
-
ONLY_ONE_OF_OUTPUT_DIRECTORY_OR_FILE_SHOULD_BE_SPECIFIED
Message in case both the output directory and the output file are specified.- See Also:
-
-
Constructor Details
-
RenderingCLIExceptionConstant
public RenderingCLIExceptionConstant()
-
-
Method Details
-
getCorrespondingCLIException
Gets correspondingRenderingCLIException
message constant forRenderingException
message.- Parameters:
-
pdfRenderException
-RenderingException
message constant - Returns:
-
RenderingCLIException
message constant
-