InsufficientTrainingDataException (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

opennlp.tools.util

## Class InsufficientTrainingDataException

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

- All Implemented Interfaces:
    Serializable

      public class InsufficientTrainingDataException
      extends IOException

  This exception indicates that the provided training data is insufficient to train the desired model.
  See Also:
    Serialized Form

- - ### Constructor Summary

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

    - #### InsufficientTrainingDataException

          public InsufficientTrainingDataException()

    - #### InsufficientTrainingDataException

          public InsufficientTrainingDataException(String message)

    - #### InsufficientTrainingDataException

          public InsufficientTrainingDataException(Throwable t)

    - #### InsufficientTrainingDataException

          public InsufficientTrainingDataException(String message,
                                                   Throwable t)

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