Class ConnectionClosedException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    RequestNotExecutedException

    public class ConnectionClosedException
    extends java.io.IOException
    Signals that the connection has been closed unexpectedly.
    Since:
    4.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionClosedException()
      Constructs a new ConnectionClosedException with a default message.
      ConnectionClosedException​(java.lang.String message)
      Constructs a new ConnectionClosedException with the specified detail message.
      ConnectionClosedException​(java.lang.String format, java.lang.Object... args)
      Constructs a new ConnectionClosedException with the specified detail message.
      ConnectionClosedException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a ConnectionClosedException with the specified detail message and cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConnectionClosedException

        public ConnectionClosedException()
        Constructs a new ConnectionClosedException with a default message.
      • ConnectionClosedException

        public ConnectionClosedException​(java.lang.String message)
        Constructs a new ConnectionClosedException with the specified detail message.
        Parameters:
        message - The exception detail message
      • ConnectionClosedException

        public ConnectionClosedException​(java.lang.String format,
                                         java.lang.Object... args)
        Constructs a new ConnectionClosedException with the specified detail message.
        Parameters:
        format - The exception detail message format; see String.format(String, Object...).
        args - The exception detail message arguments; see String.format(String, Object...).
        Since:
        5.0
      • ConnectionClosedException

        public ConnectionClosedException​(java.lang.String message,
                                         java.lang.Throwable cause)
        Constructs a ConnectionClosedException with the specified detail message and cause.
        Parameters:
        message - The exception detail message
        cause - The cause.
        Since:
        5.0