Class AccessTokenException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AccessTokenException
    extends java.lang.Exception
    Indicates that something is preventing a given access token from being used to authenticate some consumer.

    As this exception is assumed to be quite common, as well as being caused by external rather than internal faults, it does not carry any stack trace.

    See Also:
    Serialized Form
    • 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

      • AccessTokenException

        public AccessTokenException​(java.lang.String message)
        Parameters:
        message - Description of token issue.
      • AccessTokenException

        public AccessTokenException​(java.lang.String message,
                                    java.lang.Throwable cause)
        Parameters:
        message - Description of token issue.
        cause - Exception causing the issue in question.