org.apache.poi

## Class UnsupportedFileFormatException

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

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    NotOfficeXmlFileException, OfficeXmlFileException, OldFileFormatException, XLSBUnsupportedException

      public abstract class UnsupportedFileFormatException
      extends java.lang.IllegalArgumentException

  Base class of all the exceptions that POI throws in the event that it's given a file that isn't supported
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `UnsupportedFileFormatException(java.lang.String s)`
    `protected` | `UnsupportedFileFormatException(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

    - #### UnsupportedFileFormatException

          protected UnsupportedFileFormatException(java.lang.String s)

    - #### UnsupportedFileFormatException

          protected UnsupportedFileFormatException(java.lang.String message,
                                                   java.lang.Throwable cause)

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