public class ExpiredTokenException extends RuntimeException
For example, throw this exception when a call to an OAuth-secured external system returns a 401 status code.
When this exception is thrown, Appian will attempt to refresh the access token. If Appian successfully refreshes the token, the method that threw this exception will be called again with the new access token. If Appian is unable to refresh the token, the user will be prompted to authorize again with the external system.
You can check whether the exception has already been thrown during this evaluation of the integration using
|Constructor and Description|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2018-present Appian Corporation. All Rights Reserved.