Class ServiceDiscovery.DiscoveryTimeoutException

  • All Implemented Interfaces:
    Enclosing class:

    public static final class ServiceDiscovery.DiscoveryTimeoutException
    extends java.lang.RuntimeException
    Future returned by resolve(name, timeout) should be failed with this exception if the underlying mechanism was unable to resolve the name within the given timeout.

    It is up to each implementation to implement timeouts.

    See Also:
    Serialized Form
    • 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

      • DiscoveryTimeoutException

        public DiscoveryTimeoutException​(java.lang.String reason)