Package com.independentsoft.office

# Class FileFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.independentsoft.office.FileFormatException

All Implemented Interfaces:
  `Serializable`

public class FileFormatException extends IOException
The exception that is thrown when an input file or a data stream that is supposed to conform to a certain file format specification is malformed.

See Also:
  Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FileFormatException​(String message)`
  Creates a new instance of the FileFormatException class with a specified error message.
  `FileFormatException​(String message, Throwable cause)`
  Creates a new instance of the FileFormatException class with the specified error message and inner exception.

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

  - ### FileFormatException

    public FileFormatException​(String message)
    Creates a new instance of the FileFormatException class with a specified error message.
    Parameters:
      `message` - the message

  - ### FileFormatException

    public FileFormatException​(String message, Throwable cause)
    Creates a new instance of the FileFormatException class with the specified error message and inner exception.
    Parameters:
      `message` - the message
      `cause` - the cause