Package com.itextpdf.commons.exceptions
Class ITextException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.itextpdf.commons.exceptions.ITextException
- All Implemented Interfaces:
-
Serializable
- Direct Known Subclasses:
-
AggregatedException,AttributeNotFoundException,FontCompressionException,IOException,PdfException,ProductEventHandlerRepeatException,ReadingByteLimitException,StyledXMLParserException,UnknownProductException,WriterException,XfdfException
General iText exception.
Important note, not all iText exceptions are extended from ITextException.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ITextException with no error message and cause.ITextException(String message) Creates a new ITextException.ITextException(String message, Throwable cause) Creates a new ITextException.ITextException(Throwable cause) Creates a new ITextException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ITextException
public ITextException()Creates a new ITextException with no error message and cause. -
ITextException
Creates a new ITextException.- Parameters:
-
message- the detail message
-
ITextException
Creates a new ITextException.- Parameters:
-
cause- the cause (which is saved for later retrieval byThrowable.getCause()method)
-
ITextException
Creates a new ITextException.- Parameters:
-
message- the detail message -
cause- the cause (which is saved for later retrieval byThrowable.getCause()method)
-