Class SocketTimeoutExceptionFactory


  • public final class SocketTimeoutExceptionFactory
    extends java.lang.Object
    Creates SocketTimeoutException instances.
    Since:
    5.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.SocketTimeoutException create​(Timeout timeout)
      Creates a new SocketTimeoutException with a message for the given timeout.
      • Methods inherited from class java.lang.Object

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

      • SocketTimeoutExceptionFactory

        public SocketTimeoutExceptionFactory()
    • Method Detail

      • create

        public static java.net.SocketTimeoutException create​(Timeout timeout)
        Creates a new SocketTimeoutException with a message for the given timeout.
        Parameters:
        timeout - the timeout value.
        Returns:
        a new SocketTimeoutException with a message for the given timeout.