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