public class AccessTokenExpiredException
extends org.mule.runtime.api.exception.MuleRuntimeException
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.
| Constructor and Description |
|---|
AccessTokenExpiredException()
Creates a new instance using the literal
default as a resourceOwnerId |
AccessTokenExpiredException(String resourceOwnerId)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceOwnerId() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AccessTokenExpiredException()
default as a resourceOwnerIdpublic AccessTokenExpiredException(String resourceOwnerId)
resourceOwnerId - the id of the resource owner whose access token expired.public String getResourceOwnerId()
Copyright © 2020. All rights reserved.