Class TokenInjectionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TokenInjectionException
    extends java.lang.ReflectiveOperationException
    Thrown when user token injection into a request fails.

    This can happen if:

    • A service method does not return retrofit2.Call<?>.
    • Retrofit internal structure changes and reflection fails.
    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

      • TokenInjectionException

        public TokenInjectionException​(java.lang.String message)
      • TokenInjectionException

        public TokenInjectionException​(java.lang.String message,
                                       java.lang.Throwable cause)