Class ProviderConnectionRedirectedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProviderConnectionRedirectedException
    extends ProviderConnectionRemotelyClosedException
    IOException derivative that defines that the remote peer has requested that this connection be redirected to some alternative peer.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI getRedirectionURI()  
      • 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

      • ProviderConnectionRedirectedException

        public ProviderConnectionRedirectedException​(java.lang.String reason,
                                                     java.net.URI redirect)
    • Method Detail

      • getRedirectionURI

        public java.net.URI getRedirectionURI()
        Returns:
        the URI that represents the redirection.