Class ProviderClient.ProviderException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.cloudburstmc.netty.signaling.ProviderClient.ProviderException
All Implemented Interfaces:
Serializable
Enclosing class:
ProviderClient

public static final class ProviderClient.ProviderException extends IOException
See Also:
  • Method Details

    • status

      public int status()
    • code

      public String code()
      The provider's machine code; see the wire reference for the codes clients act on.
    • providerMessage

      public Optional<String> providerMessage()
      The provider's explanation for the host's operator, to show as its words and never parse.
    • actionUrl

      public Optional<URI> actionUrl()
      A page where the operator can act. It carries no credential, so it may be logged, but is never opened.
    • retryAfter

      public Optional<Duration> retryAfter()
      How long the provider asked the client to wait before repeating the request, at most a day.