Class CalDavProviderMissingException

All Implemented Interfaces:
Serializable

public class CalDavProviderMissingException extends CalDavException
The registration names a credentials provider that is not installed on this platform, so no conversation with its server is started: nothing was sent.

Distinguished from its parent CalDavException because the caller reacts differently. A provider an add-on contributes is absent while that add-on is not installed, or has not started yet: that is a state of the platform, already said once per provider name by CaldavCredentialsResolver#isProviderMissing, and not an incident of this call. A caller therefore says nothing more than a debug line about it, and records nothing about the account either: neither a pause, which is for a server that refused the credentials, nor a failure, so that the account works again by itself the moment the provider is installed.

See Also:
  • Constructor Details

    • CalDavProviderMissingException

      public CalDavProviderMissingException(String message)
      A refusal naming the provider that is not installed.
      Parameters:
      message - what was refused, naming the provider
  • Method Details

    • named

      public static CalDavProviderMissingException named(String providerName)
      The refusal for a registration configured with a provider that is not installed, in the one wording every caller uses.
      Parameters:
      providerName - the provider the registration names
      Returns:
      the refusal, naming that provider