Class OAuthProblemException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.oltu.oauth2.common.exception.OAuthProblemException
-
- All Implemented Interfaces:
Serializable
public class OAuthProblemException extends Exception
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthProblemException
description(String description)
static OAuthProblemException
error(String error)
static OAuthProblemException
error(String error, String description)
String
get(String name)
String
getDescription()
String
getError()
String
getMessage()
Map<String,String>
getParameters()
String
getRedirectUri()
int
getResponseStatus()
String
getScope()
String
getState()
String
getUri()
OAuthProblemException
responseStatus(int responseStatus)
OAuthProblemException
scope(String scope)
OAuthProblemException
setParameter(String name, String value)
void
setRedirectUri(String redirectUri)
OAuthProblemException
state(String state)
String
toString()
OAuthProblemException
uri(String uri)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
error
public static OAuthProblemException error(String error)
-
error
public static OAuthProblemException error(String error, String description)
-
description
public OAuthProblemException description(String description)
-
uri
public OAuthProblemException uri(String uri)
-
state
public OAuthProblemException state(String state)
-
scope
public OAuthProblemException scope(String scope)
-
responseStatus
public OAuthProblemException responseStatus(int responseStatus)
-
setParameter
public OAuthProblemException setParameter(String name, String value)
-
getError
public String getError()
-
getDescription
public String getDescription()
-
getUri
public String getUri()
-
getState
public String getState()
-
getScope
public String getScope()
-
getResponseStatus
public int getResponseStatus()
-
getRedirectUri
public String getRedirectUri()
-
setRedirectUri
public void setRedirectUri(String redirectUri)
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-