Class BlueMindAuthenticationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BlueMindSessionRefusedException, BlueMindTargetRefusedException

public class BlueMindAuthenticationException extends BlueMindException
BlueMind refused the credentials: a login answered 401 or 403, or answered 200 with a status other than Ok (Bad, Expired), or a call answered 401 on a key BlueMind no longer takes.

Distinguished from BlueMindException because the caller reacts differently: a credential refusal is a state (pause the account, tell the user to reconnect), never a transient failure to retry — hammering a corporate account with a stale password is how accounts get locked.

See Also:
  • Constructor Details

    • BlueMindAuthenticationException

      public BlueMindAuthenticationException(String message)
      A credential refusal, named by the status and the address it came from.
      Parameters:
      message - what was refused, in server-and-address terms