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 OAuthProblemExceptiondescription(String description)static OAuthProblemExceptionerror(String error)static OAuthProblemExceptionerror(String error, String description)Stringget(String name)StringgetDescription()StringgetError()StringgetMessage()Map<String,String>getParameters()StringgetRedirectUri()intgetResponseStatus()StringgetScope()StringgetState()StringgetUri()OAuthProblemExceptionresponseStatus(int responseStatus)OAuthProblemExceptionscope(String scope)OAuthProblemExceptionsetParameter(String name, String value)voidsetRedirectUri(String redirectUri)OAuthProblemExceptionstate(String state)StringtoString()OAuthProblemExceptionuri(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:
getMessagein classThrowable
-
-