Class WriteLimitReachedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
org.apache.tika.exception.WriteLimitReachedException
All Implemented Interfaces:
Serializable

@Deprecated(since="2026-04-30") public class WriteLimitReachedException extends SAXException
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
Transitional class to Tika 2.x. This is not actually thrown by anything, but the static check for isWriteLimitReached works.
See Also:
  • Constructor Details

    • WriteLimitReachedException

      public WriteLimitReachedException(String msg)
      Deprecated.
  • Method Details

    • isWriteLimitReached

      public static boolean isWriteLimitReached(Throwable t)
      Deprecated.
      Checks whether the given exception (or any of it's root causes) was thrown by this handler as a signal of reaching the write limit.
      Parameters:
      t - throwable
      Returns:
      true if the write limit was reached, false otherwise
      Since:
      Apache Tika 2.0
    • throwIfWriteLimitReached

      public static void throwIfWriteLimitReached(Exception ex) throws SAXException
      Deprecated.
      Throws:
      SAXException