org.apache.amber.oauth2.common.exception
Class OAuthProblemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.amber.oauth2.common.exception.OAuthProblemException
- All Implemented Interfaces:
- Serializable
public final class OAuthProblemException
- extends Exception
- See Also:
- Serialized Form
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)
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()
get
public String get(String name)
getParameters
public Map<String,String> getParameters()
getRedirectUri
public String getRedirectUri()
setRedirectUri
public void setRedirectUri(String redirectUri)
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
toString
public String toString()
- Overrides:
toString in class Throwable
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.