Class PayloadLimitExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.tika.pipes.core.protocol.PayloadLimitExceededException
All Implemented Interfaces:
Serializable

public class PayloadLimitExceededException extends IOException
Thrown when an incoming IPC payload's declared length exceeds the configured limit (see PipesConfig.getMaxIpcPayloadBytes(); default PipesMessage.MAX_PAYLOAD_BYTES). The payload bytes were not consumed, so the stream is desynchronized and the connection must be closed. With a shared server the process keeps running (only this connection ends); with the default per-client forked server the process may still exit on the failed write, and the client reconnects on the next task.
See Also:
  • Constructor Details

    • PayloadLimitExceededException

      public PayloadLimitExceededException(String message)