Class WriteTimeoutException

All Implemented Interfaces:
Serializable

public class WriteTimeoutException extends InterruptedIOException
Thrown when a blocking write operation times out.
See Also:
  • Constructor Details

    • WriteTimeoutException

      public WriteTimeoutException()
      Constructs a WriteTimeoutException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
    • WriteTimeoutException

      public WriteTimeoutException(String msg)
      Constructs a WriteTimeoutException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
      Parameters:
      msg - the detail message
    • WriteTimeoutException

      public WriteTimeoutException(Throwable cause)
      Constructs a WriteTimeoutException with the specified cause. The detail message is set to:
      (cause == null ? null : cause.toString())
      (which typically contains the class and detail message of cause).
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
    • WriteTimeoutException

      public WriteTimeoutException(String msg, Throwable cause)
      Constructs a WriteTimeoutException with the specified detail message and cause.
      Parameters:
      msg - the detail message
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)