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(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(String resourceOwnerId)
resourceOwnerId - the id of the resource owner whose access token expired.public String getResourceOwnerId()
Copyright © 2017 MuleSoft, Inc.. All rights reserved.