public class CredentialsException extends ApplinkException
Modifier and Type | Field and Description |
---|---|
private String |
errorFixAction
A label for the errorFixUrl
|
private String |
errorFixUrl |
private String |
oauthProblem
If known, this is the OAuth problem that was reported by the opposite app
|
Constructor and Description |
---|
CredentialsException(String message,
String errorFixUrl,
String errorFixAction,
String oauthProblem) |
Modifier and Type | Method and Description |
---|---|
static CredentialsException |
fromAPIException(Supplier<javax.servlet.http.HttpServletRequest> request,
com.atlassian.applinks.api.CredentialsRequiredException e) |
String |
getDetailedMessage()
Returns the error with the URLs inline.
|
String |
getErrorFixAction() |
String |
getErrorFixUrl() |
String |
getOauthProblem() |
getHttpBody, getHttpStatusCode, getHttpStatusText, getMethod, getUrl, setHttpBody, setHttpStatusCode, setHttpStatusText, writeToResponse
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private final String errorFixUrl
private final String errorFixAction
private final String oauthProblem
public static CredentialsException fromAPIException(Supplier<javax.servlet.http.HttpServletRequest> request, com.atlassian.applinks.api.CredentialsRequiredException e)
public String getErrorFixUrl()
public String getErrorFixAction()
public String getOauthProblem()
public String getDetailedMessage()
getDetailedMessage
in class ApplinkException
Copyright © 2022 Requirement Yogi. All rights reserved.