Class SocketClosedException

All Implemented Interfaces:
Serializable

public class SocketClosedException extends IllegalStateException
Signals that socket was closed before server request it. There can be unsent response data.

The exception should be distributed in server response completion stage which completes exceptionally in such case.

See Also:
  • Constructor Details

    • SocketClosedException

      public SocketClosedException(String s)
      Creates new instance.
      Parameters:
      s - a detail message
    • SocketClosedException

      public SocketClosedException(String message, Throwable cause)
      Creates new instance.
      Parameters:
      message - a detail message
      cause - an original cause
    • SocketClosedException

      public SocketClosedException(Throwable cause)
      Creates new instance.
      Parameters:
      cause - an original cause