Class Docx4JException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.docx4j.openpackaging.exceptions.Docx4JException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FieldFormattingException, FieldValueException, InvalidFormatException, PartTooLargeException, PartUnrecognisedException, TocException, W15RepeatZeroException, XPathBinderAssociationIsPartialException

public class Docx4JException extends Exception
Global exception throws when a critical error occurs. (this exception is not set as Runtime in order to force user to manage the exception in a try/catch).
Version:
1.0
Author:
CDubettier, Julien Chable
See Also:
  • Constructor Details

    • Docx4JException

      public Docx4JException(String msg)
    • Docx4JException

      public Docx4JException(String msg, Exception e)
    • Docx4JException

      public Docx4JException(String msg, Throwable t)