org.docx4j.openpackaging.exceptions
Class Docx4JException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.docx4j.openpackaging.exceptions.Docx4JException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidFormatException

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).

See Also:
Serialized Form

Constructor Summary
Docx4JException(java.lang.String msg)
           
Docx4JException(java.lang.String msg, java.lang.Exception e)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Docx4JException

public Docx4JException(java.lang.String msg)

Docx4JException

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