net.oauth
Class OAuthProblemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.oauth.OAuthException
              extended by net.oauth.OAuthProblemException
All Implemented Interfaces:
java.io.Serializable

public class OAuthProblemException
extends OAuthException

An OAuth-related problem, described using a set of named parameters. One parameter identifies the basic problem, and the others provide supplementary diagnostic information. This can be used to capture information from a response that conforms to the OAuth Problem Reporting extension.

Author:
John Kristian
See Also:
Serialized Form

Field Summary
static java.lang.String OAUTH_PROBLEM
           
 
Constructor Summary
OAuthProblemException()
           
OAuthProblemException(java.lang.String problem)
           
 
Method Summary
 int getHttpStatusCode()
           
 java.lang.String getMessage()
           
 java.util.Map<java.lang.String,java.lang.Object> getParameters()
           
 java.lang.String getProblem()
           
 void setParameter(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OAUTH_PROBLEM

public static final java.lang.String OAUTH_PROBLEM
See Also:
Constant Field Values
Constructor Detail

OAuthProblemException

public OAuthProblemException()

OAuthProblemException

public OAuthProblemException(java.lang.String problem)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

setParameter

public void setParameter(java.lang.String name,
                         java.lang.Object value)

getParameters

public java.util.Map<java.lang.String,java.lang.Object> getParameters()

getProblem

public java.lang.String getProblem()

getHttpStatusCode

public int getHttpStatusCode()


Copyright © 2009. All Rights Reserved.