Class ReauthenticationException

  • All Implemented Interfaces:
    Serializable

    public class ReauthenticationException
    extends SecurityException
    A run-time exception indicating that a reauthentication was required for an operation, but the reauthentication failed, preventing the operation from proceeding. Reauthentication can happen when (for example) a persistent connection is broken and reestablished, or an authentication session was forcibly terminated, or because a backing system uses an authentication-per-request strategy, or other reasons.
    Author:
    David M. Lloyd
    See Also:
    Serialized Form
    • Constructor Detail

      • ReauthenticationException

        public ReauthenticationException()
        Constructs a new ReauthenticationException instance. The message is left blank (null), and no cause is specified.
      • ReauthenticationException

        public ReauthenticationException​(String msg)
        Constructs a new ReauthenticationException instance with an initial message. No cause is specified.
        Parameters:
        msg - the message
      • ReauthenticationException

        public ReauthenticationException​(Throwable cause)
        Constructs a new ReauthenticationException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this ReauthenticationException; otherwise the message is left blank (null).
        Parameters:
        cause - the cause
      • ReauthenticationException

        public ReauthenticationException​(String msg,
                                         Throwable cause)
        Constructs a new ReauthenticationException instance with an initial message and cause.
        Parameters:
        msg - the message
        cause - the cause