Class DbxWebAuth.BadStateException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    DbxWebAuth

    public static final class DbxWebAuth.BadStateException
    extends DbxWebAuth.Exception
    Thrown if all the parameters to your redirect URI are well-formed, but there's no CSRF token in the session. This probably means that the user's session expired and they must restart the OAuth 2 process.

    IMPORTANT: The exception's message must not be shown the the user, but may be logged.

    The recommended action is to redirect the user's browser to try the approval process again.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BadStateException​(java.lang.String message)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BadStateException

        public BadStateException​(java.lang.String message)