Class MxConnTimeoutException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MxConnTimeoutException
    extends MxConnIOException
    TPAE IF Connector's timeout exception. Thrown to indicate the timeout expires before the connection can be estabilished or before there is data available for read.
    Since:
    7.1
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getTimeout()
      Returns the timeout, in milliseconds.
      • 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

      • MxConnTimeoutException

        public MxConnTimeoutException​(java.lang.String msg,
                                      java.lang.String targetUrl,
                                      int timeout,
                                      java.lang.Throwable cause)
        Constructs a new MxConnTimeoutException.
        Parameters:
        targetUrl - target URL
        timeout - timeout, in milliseconds
        cause - the cause
    • Method Detail

      • getTimeout

        public int getTimeout()
        Returns the timeout, in milliseconds.
        Returns:
        timeout, in milliseconds