Class ShutDownReceivedException

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

public class ShutDownReceivedException extends IOException
Thrown when a SHUT_DOWN message is received where an ACK was expected.

This allows callers to distinguish a clean shutdown request from other I/O errors and respond with the appropriate lifecycle action (e.g., System.exit(0) in PipesServer vs closing only the connection in ConnectionHandler).

See Also:
  • Constructor Details

    • ShutDownReceivedException

      public ShutDownReceivedException()