Class AccessTokenExpiredException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mule.runtime.api.exception.MuleRuntimeException
org.mule.sdk.api.connectivity.oauth.AccessTokenExpiredException
org.mule.runtime.extension.api.connectivity.oauth.AccessTokenExpiredException
All Implemented Interfaces:
Serializable

@MinMuleVersion("4.1") public class AccessTokenExpiredException extends org.mule.sdk.api.connectivity.oauth.AccessTokenExpiredException
Exception to be thrown by operations which are trying to use an expired access token.

The runtime will automatically catch this exception, try to execute the refresh token flow and retry the operation. If the operation fails again or the token couldn't be refresh for whatever reason, then the operation will fail.

Since:
1.0
See Also:
  • Constructor Details

    • AccessTokenExpiredException

      public AccessTokenExpiredException()
      Since:
      1.2.1
    • AccessTokenExpiredException

      public AccessTokenExpiredException(String resourceOwnerId)