opennlp.tools.util

## Class InvalidFormatException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - opennlp.tools.util.InvalidFormatException

- All Implemented Interfaces:
    Serializable

      public class InvalidFormatException
      extends IOException

  This exception indicates that a resource violates the expected data format.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InvalidFormatException()`
    `InvalidFormatException(String message)`
    `InvalidFormatException(String message, Throwable t)`
    `InvalidFormatException(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

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### InvalidFormatException

          public InvalidFormatException()

    - #### InvalidFormatException

          public InvalidFormatException(String message)

    - #### InvalidFormatException

          public InvalidFormatException(Throwable t)

    - #### InvalidFormatException

          public InvalidFormatException(String message,
                                        Throwable t)

Copyright © 2026 The Apache Software Foundation. All rights reserved.