Package com.itextpdf.html2pdf.exceptions
Class Html2PdfException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.itextpdf.commons.exceptions.ITextException
com.itextpdf.html2pdf.exceptions.Html2PdfException
- All Implemented Interfaces:
-
Serializable
public class Html2PdfException extends com.itextpdf.commons.exceptions.ITextException
Runtime exception that gets thrown if something goes wrong in the HTML to PDF conversion.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
PDF_DOCUMENT_SHOULD_BE_IN_WRITING_MODE
Message in case one tries to write to a PDF document that isn't in writing mode.- See Also:
-
FONT_PROVIDER_CONTAINS_ZERO_FONTS
Message in case the font provider doesn't know about any fonts.- See Also:
-
UNSUPPORTED_ENCODING_EXCEPTION
The Constant UnsupportedEncodingException.- See Also:
-
-
Constructor Details
-
Html2PdfException
Creates a newHtml2PdfException
instance.- Parameters:
-
message
- the message
-