Class WriteLimitReachedException

    • Constructor Detail

      • WriteLimitReachedException

        public WriteLimitReachedException​(int writeLimit)
    • Method Detail

      • isWriteLimitReached

        public static boolean isWriteLimitReached​(Throwable t)
        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