Class Docx4JException

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

public class Docx4JException
extends java.lang.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:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    Docx4JException​(java.lang.String msg)  
    Docx4JException​(java.lang.String msg, java.lang.Exception e)  
    Docx4JException​(java.lang.String msg, java.lang.Throwable t)  
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Docx4JException

      public Docx4JException​(java.lang.String msg)
    • Docx4JException

      public Docx4JException​(java.lang.String msg, java.lang.Exception e)
    • Docx4JException

      public Docx4JException​(java.lang.String msg, java.lang.Throwable t)