org.apache.poi.openxml4j.exceptions

## Class NotOfficeXmlFileException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - java.lang.IllegalArgumentException
        - - org.apache.poi.UnsupportedFileFormatException
          - - org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    ODFNotOfficeXmlFileException, OLE2NotOfficeXmlFileException

      public class NotOfficeXmlFileException
      extends UnsupportedFileFormatException

  This exception is thrown when we try to open a file that doesn't seem to actually be an OOXML (Office Open XML) file after all
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NotOfficeXmlFileException(java.lang.String message)`
    `NotOfficeXmlFileException(java.lang.String message, java.lang.Throwable cause)`

  - ### 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 Detail

    - #### NotOfficeXmlFileException

          public NotOfficeXmlFileException(java.lang.String message)

    - #### NotOfficeXmlFileException

          public NotOfficeXmlFileException(java.lang.String message,
                                           java.lang.Throwable cause)

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.