org.apache.shindig.social.core.oauth2
Class OAuth2Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.shindig.social.core.oauth2.OAuth2Exception
All Implemented Interfaces:
java.io.Serializable

public class OAuth2Exception
extends java.lang.Exception

Represents an exception while dancing with OAuth 2.0.

See Also:
Serialized Form

Constructor Summary
OAuth2Exception(OAuth2NormalizedResponse response)
          Constructs an OAuth2Exception.
 
Method Summary
 OAuth2NormalizedResponse getNormalizedResponse()
          Retrieves the normalized response.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OAuth2Exception

public OAuth2Exception(OAuth2NormalizedResponse response)
Constructs an OAuth2Exception.

Parameters:
response - is the normalized response that should be used to formulate a server response.
Method Detail

getNormalizedResponse

public OAuth2NormalizedResponse getNormalizedResponse()
Retrieves the normalized response.

Returns:
OAuth2NormalizedResponse encapsulates the OAuth error


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.