Class ProviderConnectionRedirectedException

All Implemented Interfaces:
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:
  • Constructor Details

    • ProviderConnectionRedirectedException

      public ProviderConnectionRedirectedException(String reason, URI redirect)
  • Method Details

    • getRedirectionURI

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