public class DfaAxisTokenExpirationDetector extends Object implements TokenExpirationDetector
| Modifier and Type | Field and Description |
|---|---|
protected static long |
TOKEN_EXPIRED_CODE |
protected static String |
TOKEN_EXPIRED_MESSAGE |
| Constructor and Description |
|---|
DfaAxisTokenExpirationDetector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTokenExpiredException(Throwable exception)
Determines if the given exception is an error from DFA signifying an expired DFA token.
|
protected static final long TOKEN_EXPIRED_CODE
protected static final String TOKEN_EXPIRED_MESSAGE
public boolean isTokenExpiredException(@Nullable
Throwable exception)
isTokenExpiredException in interface TokenExpirationDetectorexception - An exception returned from the DFA API. In the event the API did not return
an exception, this will be nullCopyright © 2015. All Rights Reserved.