Interface BufferConfiguration.OversizedValueHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onOversizedValue()
      Invoked each time a value (and any symbol tables that immediately precede it) exceed the buffer size limit specified by the LookaheadReaderWrapper instance, but the symbol tables by themselves do not exceed the limit.
    • Method Detail

      • onOversizedValue

        void onOversizedValue()
                       throws java.lang.Exception
        Invoked each time a value (and any symbol tables that immediately precede it) exceed the buffer size limit specified by the LookaheadReaderWrapper instance, but the symbol tables by themselves do not exceed the limit. This is recoverable. If the implementation wishes to recover, it should simply return normally from this method. The oversized value will be flushed from the input pipe; normal processing will resume with the next value. If the implementation wishes to abort processing immediately, it may throw an exception from this method. Such an exception will propagate upward and will be thrown from ReaderLookaheadBuffer.fillInput().
        Throws:
        java.lang.Exception - if handler logic fails.